# Allowing Customers to Preview Your Course Content

Offering a free preview of your course content on the product detail page is a great way to build trust with potential buyers and showcase the value of your course.

&#x20;This guide will walk you through the two simple steps required to enable this feature and help customers make an informed purchasing decision.

### Step 1: Enable "Free Preview" for Specific Lessons

Now that the block is on your product page, you need to designate which lessons can be previewed for free.

From your Shopify Admin, go to **Apps** -> **LDT Online Courses**.

Click on **Courses** and select the course you want to edit.

<figure><img src="/files/9YGX8qDFOCVoB85X4RWY" alt=""><figcaption></figcaption></figure>

Inside the course, you select the module where you want to show preview

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

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

\
Within the lesson editor, you will see an option for "Free Preview". Toggle this option on.

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

Click Done to save your changes for that lesson

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

Click Save on the main course editor page to finalize your changes

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

### Step 2: Add the LDT Course Block to Your Product Template

This step connects your course content from the LDT app to your Shopify product page.

From your Shopify Admin, go to **Online Store** -> **Themes**.

Click on the **Customize** button for your active theme.

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

In the top-center dropdown menu, select Products and then choose Default product to edit the product template.

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

In the app blocks, click Add block

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

In the app blocks list, select the "Preview - Course content" block

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

The course content block will be added to your page. Click the Save button in the top right corner to publish your changes.

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

Result:

After completing these steps, the "LDT - Course content" block on your product detail page will display the full course curriculum. Any lesson that you have marked for "Free Preview" will be accessible to all visitors, allowing them to view the content and get a taste of your high-quality course.

### Preview&#x20;

<figure><img src="/files/3mV8nnsSxslCi5Wk2D9b" alt=""><figcaption></figcaption></figure>

<br>


---

# 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/course-management/allowing-customers-to-preview-your-course-content.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.
