How to Show Product Attachments for Members Only in WooCommerce
The WooCommerce Product Attachment Pro plugin allows you to restrict product attachments so that only logged-in users or specific user roles can access them. This is useful when you want to share files such as manuals, invoices, guides, or premium documents only with members.
In The Article
Why Restrict Attachments to Members Only?
Showing attachments only to members helps you:
- Protect premium or private files
- Share documents only with registered customers
- Prevent guest users from downloading restricted files
- Improve content security and access control
Ways to Restrict Product Attachments to Members
You can restrict attachments in two main ways:
- By enabling attachment visibility for logged-in users only
- By assigning attachments to specific user roles
Method 1: Show Attachments Only to Logged-In Users
Steps
- Go to Product Attachment → configuration page
- Locate the option Restrict Attachments to Logged-In Users
- Enable this setting
- Click Save Changes
Once enabled:
- Only logged-in users can view and download attachments
- Guest users will not see the attachments on product or order pages
Method 2: Restrict Attachments by User Role (Members Only) GLOBAL
This method is ideal if you want attachments visible only to specific roles like Customer, Subscriber, Wholesale User, or Membership roles.
Steps
- Go to Global Settings → Product Page → User Role Based Display Attachment section
- Select the user's roles
Only users with the selected roles will be able to see the attachment.
Where Will Members See the Attachments?
Depending on your attachment visibility settings, members can see attachments on:
- Product Details Page
- Order Details Page
- Both Product & Order Pages
Guest users will not see the attachments at all.
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
Membership restrictions apply only to attachments, not the product itself
Attachments can still be combined with:
- Order status rules
- Expiry rules
- Product/category targeting
- You can edit or remove access rules anytime
Example Use Cases
- Show user manuals only to logged-in customers
- Provide downloadable invoices to members
- Share premium documents with wholesale users
- Restrict training material to registered members
Conclusion
Restricting product attachments to members only is a powerful way to protect your files and control access in WooCommerce. Using the Product Attachment Pro plugin, you can easily limit attachments to logged-in users or specific user roles—without writing any code.
FAQs
1. What does “members only” mean for product attachments?
It means only logged-in users or selected user roles can view and download product attachments. Guest users will not see them.
2. Can I restrict attachments only to logged-in users?
Yes. You can enable a setting that hides attachments from guest users and shows them only to logged-in customers.
3. Can I limit attachments to specific user roles?
Yes. You can select specific roles such as Customer, Subscriber, Wholesale User, or Member roles to control who can access attachments.
4. Will restricted attachments appear on both product and order pages?
Yes. Attachments will appear wherever you have enabled them (product page, order page, or both), but only for allowed users.
5. Can I combine member restrictions with order status rules?
Yes. You can restrict attachments by user role, order status, expiry date, and visibility location at the same time.
6. What happens if a user logs out?
Once logged out, the user will no longer see the restricted attachments.
7. Does this feature require a membership plugin?
No. It works with standard WooCommerce user roles. You can also use it alongside membership plugins if needed.