# Documents for buyers and students: access by purchase or course

*Collection: Access Control & Protection · Category: Access Control · Availability: FileDeck Pro · Canonical URL: https://www.getfiledeck.com/docs/purchase-course-access/*

A shop that sells machines wants the manuals and safety data sheets open to
people who bought one. A school wants each course's materials open to the
students on it. FileDeck can ask your shop or course plugin directly, so
nobody has to be added to a list by hand.

> **FileDeck Pro** — this feature is included in all Pro plans. [See pricing](https://www.getfiledeck.com/pricing/)

## Supported plugins

| Plugin | What you pick | Who gets in |
|---|---|---|
| WooCommerce | A product | Customers with a completed or processing order for it |
| Easy Digital Downloads | A download | Customers who bought it |
| LearnDash | A course | Students enrolled on it |
| Tutor LMS | A course | Students enrolled on it |
| LifterLMS | A course | Students enrolled on it |

FileDeck finds whichever of these is active and lists its products or
courses (up to 200 of each) beside your [membership plans](https://www.getfiledeck.com/docs/membership-plans/).

## Open a category to buyers or students

1. Edit a document category under **Documents → Categories**.
2. Under **Client area — membership plans, purchases and courses**, tick the products or courses whose buyers or students should see it.
3. Update the category.

Every document filed in that category, and its sub-categories, is then open
to anyone who bought a ticked product or is enrolled on a ticked course, as
well as to anyone named on the category individually. 

## Access follows the order or enrolment

FileDeck asks the plugin each time, rather than copying anything. A WooCommerce
order that is refunded, cancelled or failed admits nobody; an enrolment that
ends takes the access with it. 

These categories are client areas: their documents are hidden from people
they don't admit, not listed with a padlock. Put a
[sign-in link](https://www.getfiledeck.com/docs/members-library-outside-login/) on the page for customers
who haven't signed in.

## Good to know

- **Guest checkouts** have no account, so FileDeck has nobody to recognise. Customers need to buy, or sign in, with an account.
- **Subscriptions**: a WooCommerce subscription product counts through its orders; FileDeck doesn't read subscription status itself.
- **Variable products**: buying any variation counts as buying the product.

## FAQ

### Can I combine a product and a membership plan on one category?

Yes. Plans, products, courses, named people, groups and email domains are an
OR: anyone matching one of them gets in.

### Does this need FileDeck to connect to my shop?

No. It runs inside your WordPress site and asks the shop or course plugin
installed there.
