• Resolved crimsonliu

    (@crimsonliu)


    I recently started using Product Attachment for WooCommerce, but when i click download it open file in the same window.
    is it a way to open files in a new tab?

    • This topic was modified 4 years, 2 months ago by crimsonliu.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Dotstore

    (@dots)

    Hello crimsonliu,

    Thanks for reaching out to us.

    Find the below class text and replace it as mentioned.

    Find the text: class="wcpoa_attachmentbtn"

    In above search lines you will see below attribute and you need to add another targe attribute to show in new tab.

    Replace with:

    From: rel="nofollow">

    To: rel="nofollow" target="_blank">

    You will find above text 4 times in our plugin and replace it at all.

    Hope this helps. Let us know still if any.

    Thanks,

    Thread Starter crimsonliu

    (@crimsonliu)

    really thank you! it works!

    Plugin Author Dotstore

    (@dots)

    Hello crimsonliu,

    We are really glad to know that it is working for you. ??

    This thread has been inactive for a while so we’re going to go ahead and mark it Resolved.

    Please feel free to open a new thread if any other questions come up and we’d be happy to help. ??

    Thanks,

    Thread Starter crimsonliu

    (@crimsonliu)

    sorry, I notice that only PDF file open in new window.
    Is it a way to open JPG files in a new tab?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to open attachment in new tabs’ is closed to new replies.