Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I don't have product.liquid & product-template.liquid. Is there a reason for that? I have products, collections, size, colour variations for products.
I need to edit the code from product-template.liquid to track add_to_cart button for GA4 but now I can't see that.
Solved! Go to the solution
This is an accepted solution.
it's 'product.json'.
add to cart in 'main-product.liquid'
This is an accepted solution.
@abdullahalasif the file name is main-product.liquid and it's under sections folder
This is an accepted solution.
it's 'product.json'.
add to cart in 'main-product.liquid'
Thank you. It Worked. Any idea why I don't have this "product-template.liquid" ?
Thank you. It Worked. Any idea why I don't have this "product-template.liquid" in my Shopify website?
about Online Store 2.0. you can read this post.
https://www.shopify.com/partners/blog/shopify-online-store
This is an accepted solution.
@abdullahalasif the file name is main-product.liquid and it's under sections folder
Hi, can I seek help from you regarding product schemas? I can see my product schemas in the source code (ctrl + U). But I am unable to locate them in the Shopify code editor dashboard. They are literally nowhere. I am unable to edit them. Any help would be really appreciated. 🙂 Thanks.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025