How to Open Product Attachments or External URLs in a New Window in WooCommerce

The WooCommerce Product Attachment Pro plugin allows you to control how attachments and external URLs open when customers click them. You can choose to open files or links in the same tab or in a new browser window (new tab).

Opening attachments in a new window helps keep customers on your store while still giving them access to important documents.

Why Open Attachments in a New Window?

Opening attachments or external URLs in a new window helps you:

  • Prevent users from leaving your store page
  • Improve navigation and user experience
  • Keep the product or order page open
  • Safely link to external resources

Steps to Open Attachments or External URLs in a New Window

Enable “Open in New Window” Option

  1. Go to Product Attachment → Settings
  2. Locate the option Open Attachment / External URL in New Window
  3. Select Yes
  4. Click Save Changes

Once enabled, all attachment links and external URLs will open in a new browser tab.

attachment on new tab setting
set attachment as new tab

How It Works on the Frontend

  • Clicking an attachment file opens it in a new tab
  • Clicking an external URL opens the linked page in a new tab
  • The product or order page remains open in the original tab

This applies to:

  • Product Details Page
  • Order Details Page
  • Bulk attachments
  • External URL attachments

Use Case Examples

  • Open manuals or PDFs without leaving the product page
  • Link to third-party documentation safely
  • Provide video or help links while keeping customers engaged

Conclusion

Opening attachments or external URLs in a new window is a small but effective improvement for user experience. With a simple Yes/No setting, you can ensure customers stay on your WooCommerce store while still accessing important files and links.


FAQs

1. What does “open in a new window” mean for attachments?

It means the attachment or external URL opens in a new browser tab, while the original product or order page stays open.


2. Can I apply this setting to all attachments at once?

Yes. This is a global setting and applies to all attachments and external URLs created using the plugin.


Yes. The setting works for file uploads (PDFs, images, documents) and external URLs.


4. Will this affect my store’s performance or SEO?

No. Opening links in a new tab does not impact performance. It can improve user experience by keeping visitors on your site.


5. Can I disable the new window option later?

Yes. You can switch the option back to No at any time to open attachments in the same tab.


6. Does this work on both product and order pages?

Yes. Attachments will open in a new tab wherever they are displayed—on product pages and order details pages.


7. Is this compatible with all WooCommerce themes?

Yes. The feature works with most WooCommerce-compatible themes without additional configuration.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.