Pro Requires Foliora Pro
Sell documents with WooCommerce
Attach a PDF or EPUB to a product, show a preview on the product page, and let buyers read online from My Account and their order emails.
On this page
Requires WooCommerce. Buyers read the document online — there is no file to forward, and with Secure Mode the file itself can't be shared.
Set up a product#
- Edit (or create) a product and open the Foliora document tab in the Product data box.
- Select the document this product sells and click Use this document.
- Set Free preview pages (PDF only).
- Choose Show on product page:
- In a “Preview” tab
- Below the product summary
- Not on the product page (My Account only)
- Keep Protect the file so it cannot be opened from its public URL ticked and update the product.
- For PDFs, go to Foliora → Access, open the document and click Build preview.
Buyers of this product can read the whole document online; everyone else gets the preview.
What buyers get#
- My Account → Documents — every document they bought, one click to read. Before a purchase it says “You have no documents yet.”
- Order emails — a “Read online:” link for each document.
- The product page shows the full document instead of the preview once they own it.
Subscriptions and memberships#
- WooCommerce Subscriptions: an active subscription is required; when it ends, the reader is back to the preview.
- WooCommerce Memberships, MemberPress, Paid Memberships Pro: use access rules with “Members of a plan”.
If the document already has other access rules on Foliora → Access, buying the product will not unlock it until you change those rules. The product screen warns you.
Compatible with WooCommerce High-Performance Order Storage (HPOS).