=== Product Manuals for WooCommerce ===
Contributors: 1dofollow
Tags: woocommerce, product attachments, pdf, manuals, downloads
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Attach PDF manuals, warranty cards, spec sheets and media files to WooCommerce products. Show them on the product page, or only to buyers in their order.

== Description ==

Give every product the right document. Add a user manual, warranty card, size guide, datasheet or video to any product, and decide who sees it.

**Free features**

* Attach multiple documents or media files to a product (PDF, DOC, XLS, ZIP, images, video).
* Show files in a "Manuals & Downloads" tab on the product page.
* Show buyer-only files in the order details (thank-you page and My Account → View order).
* Choose the order statuses that unlock a file (e.g. Completed only).
* Set a download expiry in days, counted from the payment date.
* Custom name and description for every file.
* Drag-and-drop ordering.
* Secure download links: buyer-only files are checked against the order key, status and expiry before the file is sent.
* Download, open-in-browser, or both links.
* Variations inherit their parent product's files.
* HPOS (custom order tables) compatible.

**Pro features** (Product Manuals Pro add-on)

* Category-wide rules: attach one manual to every product in selected categories, with include and exclude lists.
* Replace a file once across all products and rules.
* Missing-manual report with CSV export.
* External URL files and availability dates (from / until).
* Role-only files (e.g. wholesale customers).
* Files in WooCommerce order emails.
* Staff-added files on a single order, and customer uploads on the order page.
* Video preview player and file-type icons.
* Placement: tab, below the summary, after the description tab, or anywhere via shortcode / sidebar widget.
* Custom CSS.

== Installation ==

1. Upload the `odf-product-manuals` folder to `/wp-content/plugins/` or install the zip from Plugins → Add New → Upload.
2. Activate the plugin. WooCommerce must be active.
3. Edit a product and use the "Product Manuals & Downloads" box.
4. Settings: WooCommerce → Settings → Products → Product Manuals.

== Frequently Asked Questions ==

= Can someone download a buyer-only file without buying? =
No. Buyer-only links include the order id and the secret order key, and the plugin checks the order contains the product, the status is allowed and the download has not expired.

= Are files on the product page protected? =
Product-page files are public by design. Files in the media library can still be reached by their direct URL; use "Buyers only" for anything private.

== Changelog ==

= 1.0.0 =
* First release.
