> 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-guides/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

This page describes the old product-template route for previewing course content and points at the current guide

**This page is out of date.** It described switching course preview on from the product template, back when the preview block read its setting from the product. The switch has moved into the course itself, so the steps that used to be here no longer match the app.

What happens now: you turn the preview option on inside the course, and the product page renders the preview on its own for any product the course is linked to. Nothing has to be edited in your theme, and the block keeps working after a theme update.

If your course is not linked to a Shopify product yet, do that first - a course that is not sold through a product has no product page on which to show a preview.

#### Related pages

* [Allowing customers to preview your course content](/ldt-online-course/storefront-and-portal/allowing-customers-to-preview-your-course-content.md)
* [How to change course visibility](/ldt-online-course/enroll-and-price/how-to-change-course-visibility.md)
