> For the complete documentation index, see [llms.txt](https://helpdesk.ldtsoft.work/ldt-online-course/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpdesk.ldtsoft.work/ldt-online-course/older/how-to-allow-your-customer-preview-course-content-in-product-detail-page.md).

# How to allow your customer preview course content in product detail page

## Step 1: Add our app block to your Product template

#### From our app -> Settings -> Product detail page

Follow step 1 to open Editor page

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

#### Hover to position that you want and click **Add block** button

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

Select our block and click Save button

<figure><img src="/files/97MKAxCxGTimV1h8Poq7" alt=""><figcaption></figcaption></figure>

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

## Step 2: Turn on **Free Preview** option for your course content

From our app -> Courses -> Click your course to edit

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

Navigate to your lesson to edit the content

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

Turn on **Free Preview** option then click **Done**

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

Save your changes

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

## Step 3: Check result from your product detail page

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://helpdesk.ldtsoft.work/ldt-online-course/older/how-to-allow-your-customer-preview-course-content-in-product-detail-page.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
