You want to create a section with settings that can be toggled on and off:
- Create the 'related-products.liquid' as a section file.
- In the product template file, add the following section inclusion:
{% section 'related-products' %}
right beneath the{% section 'product-template' %}
line.
@wealllikedan Make sure you are adding a section and not a snippet: https://ecommerce.shopify.com/c/ecommerce-design/t/dbut-theme-related-product-issue-liquid-syntax-error-unknown-tag-schema-396038