Shopify themes, liquid, logos, and UX
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.
Hey, im using the debut theme.
and yes ive tried adding "{% section 'newsletter' %}" to product.liquid and it does not work 🙂
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024