How to Set Attachment Action as Download or View in WooCommerce

The WooCommerce Product Attachment Plugin allows you to control how attachments behave when customers click them. You can choose whether an attachment should:

  • Open in the browser (View), or
  • Download automatically (Download)

This setting helps you deliver the right experience based on the type of file you’re sharing.


Steps to Set Attachment Action

  1. Go to Product Attachment → Settings

    Open the Attachment Settings section

    Locate the Attachment Action option

    Choose one of the following:

    • View – to open the attachment in the browser
    • Download – to download the attachment instantly
  2. Click Save Changes

The selected option will apply to all attachments.

Download action settings
Download action settings

When to Use “View” Attachment Action

Choose View if:

  • You want customers to read documents online
  • You are sharing PDFs, manuals, or guides
  • You want users to preview content without downloading

Example: Product manuals, usage guides, policy documents.

Quick video guide:

Key Benefits

  • Improves user experience
  • Gives you full control over attachment behavior
  • Works with PDFs, images, and documents
  • Requires no coding

Ready to See All Features in Actions?

Access our complete advanced features instance, allowing you to configure every feature with real product size chart scenarios.


Important Notes

  • This is a global setting and applies to all attachments
  • Works for uploaded files (not external URLs)
  • Browser behavior may vary slightly based on file type

Conclusion

Setting the attachment action as View or Download helps you control how customers interact with your product files. Whether you want users to preview content online or download it instantly, this setting gives you flexibility with just one click.

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