I'm want to add text columns with an images section at the end of a product page. I tried following the same process as you would with any other page by adding the following code to the template file:
{% section 'newsletter' %}
This does not work on a product page. I add it to the bottom of the product.template.liquid I get the error of :
"Liquid error (sections/product-template.liquid line 310): Cannot render sections inside sections"
I cannot find any other solutions to this on the internet
Hi,
Every theme is different. You'll need to have a look at the structure of the theme.
Anything that is to do with the product page, starts from a template file called "product.liquid".
You can try and add your newsletter section snippet in this file.
and yes ive tried adding "{% section 'newsletter' %}" to product.liquid and it does not work 🙂
User | RANK |
---|---|
219 | |
59 | |
50 | |
24 | |
24 |