How to Add Product Attachments with Expiry Dates in WooCommerce

The Attachments with Expiry Dates feature in the Product Attachment for WooCommerce plugin allows you to upload downloadable files (PDFs, videos, forms, etc.) that automatically expire after a specific date.

For example, you can attach a promotional catalog, warranty form, or seasonal brochure that’s only accessible until a set deadline.

Add Product Attachments with Expiry Dates

This feature is ideal for stores that offer limited-time offers, event-based documents, promotional downloads, or temporary usage instructions.


Preconditions

Before setting expiry-based attachments, make sure:

  • WooCommerce is installed and configured
  • The Product Attachment for WooCommerce plugin is installed and activated
  • You’ve created at least one product in your store
  • You have the attachment file ready (PDF, DOC, ZIP, etc.)
  • You know the expiry date after which the file should no longer be available

Step-by-Step Instructions

Adding a Product Attachment with an Expiry Date

  1. Log in to your WordPress admin dashboard

    Navigate to Dotstore → Product Attachment

    Click on the Bulk Attachment tab

    Select Add New

    In the form:

    • Choose the product you want to attach the file to
    • Upload your attachment file (e.g., warranty_card_2027.pdf )
    • Enter a title like “Warranty Card”
    • In the Expiry Date field, select the date when the file should automatically expire
    • Set visibility and other options as needed

      Warranty card setting with expiry date

  2. Click Save


Alternate Flows

Automatically Removing Expired Attachments (No Manual Cleanup Needed)

  • Once the selected expiry date is reached, the attachment will no longer be shown on the product page.
  • You don’t need to manually remove the file — the plugin will handle that automatically, ensuring outdated content is hidden.

Expected Outcome

When configured correctly, attachments will appear on the product page until the expiry date you set. After that, they’ll be hidden automatically — keeping your product pages clean and current, and ensuring customers only access valid files.


Summary

With expiry-date-based attachments, you can time-limit access to promotional files, documents, or content — keeping your store fresh, organized, and aligned with seasonal or time-sensitive campaigns.

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