How to show the attachment expiry date for your store as well as email?
The Attachment Expiry Date feature enables WooCommerce store owners to display expiry information for product attachments throughout the store and in order emails.
If an attachment has an expiry date or duration set, this feature clearly informs customers when access will end.
Expiry details can be shown on order pages, My Account pages, and order emails.
This avoids confusion and improves transparency for customers.
In The Article
How the feature settings will work
This feature works in two parts:
- Setting an expiry date or duration while creating or editing a product attachment
- Displaying expiry information on the frontend and in emails
When enabled, customers will see:
- When the attachment expires
- Why the attachment may no longer be accessible
Expiry is calculated automatically based on the order completion date and is checked in real time.
Benefits of the attachment expiry date
- Prevents customer confusion when attachments expire
- Clearly communicates access limitations
- Reduces support tickets and refund requests
- Improves trust with transparent messaging
- Ideal for time-limited or licensed content
How to configure the feature
Step 1: Enable attachment expiry while creating attachments
When adding or editing a product attachment, you can define its expiry using one of the following methods:
Option 1: Specific Date & Time
- Set an exact date and time when the attachment will expire
- Useful for fixed-access promotions or limited campaigns
Option 2: Time Period After Purchase
- Set a duration starting from order completion
- Suitable for flexible access periods
Step 2: Available time period options
For Time Period After Purchase, you can choose from:
- Seconds – very short-term access
- Minutes – brief access
- Hours – same-day access
- Days – multi-day access
- Weeks – weekly access
- Months – long-term access
Step 3: Enable expiry date display
To show expiry information to customers:
- Go to Dashboard → Product Attachment
- Navigate to Set Expiry Date / Time
- Enable the option to display expiry information
- Save the settings
Where expiry dates appear
When enabled, expiry information is displayed in the following places:
✅ Order Details Pages - Displays expiry status

✅ Order Emails - Includes expiry information in email notifications

✅ My Account Pages - Shows attachment expiry status

Once expired, attachments are automatically blocked from access.
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.
Business use cases
Digital products and licenses
Limit access to files such as licenses, premium guides, or protected downloads.
Online courses and learning material
Provide time-bound access to study material or reference documents.
Subscription-based services
Allow attachment access only during an active subscription period.
Promotional or seasonal content
Expire special offers, coupons, or event-specific documents automatically.
Conclusion
Displaying attachment expiry dates keeps customers informed and avoids confusion.
It ensures buyers clearly understand access limitations and reduces unnecessary support issues.
This feature is especially valuable for stores offering time-restricted content or licensed materials.
FAQs
What happens when an attachment expires?
Once expired, the attachment becomes inaccessible to customers automatically.
From which date is the expiry calculated?
Expiry is calculated from the order completion date.
Will customers see why an attachment is not accessible?
Yes. Expiry information is displayed wherever enabled, so customers understand the reason.
Does expiry affect all attachments?
No. Only attachments with an expiry date or duration set are affected.
Could you show the expiry details in emails?
Yes. Expiry information can be included in order emails when email attachments are enabled.