# How to limit course access

<figure><img src="/files/jaEKLs4rKXcLiP0YlbVz" alt=""><figcaption></figcaption></figure>

You can set a time limit for course access when linking your course to a Shopify product. Follow these steps:

1️⃣ **Go to your Course in the app**\
2️⃣ **Link the course to a Shopify product**\
3️⃣ **Enable "Limit Time Access"** for the product\
4️⃣ **Set the duration** (e.g., 30 days, 60 days, etc.)

Once enabled, students will only have access to the course for the specified period after purchase.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://helpdesk.ldtsoft.work/ldt-online-course/faq/how-to-limit-course-access.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
