Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
We had a custom widget on the product page of our Shopify store that was written in product.liquid on the Venture theme. We switched to the Dawn theme and there is no longer a product.liquid, where can we add back the widget for the product page?
The widget itself is used to choose instalments for a given product.
Thanks,
Solved! Go to the solution
This is an accepted solution.
Online Store 2.0 themes use the JSON section architecture.
https://shopify.dev/themes/architecture/templates
https://shopify.dev/themes/architecture/templates/json-templates
So Vintage templates such as product.liquid get converted into a matching JSON template product.json
product.json is a JSON declarative file that lists what sections are in it.
Example being the bulk of product logic being in main-product.liquid (whereas in vintage themes it may have been product-template.liquid)
It is those sections you need to edit to include a custom snippet , or create to then integrate with product.json.
Learn to migrate vintage themes to OS2.0 themes here:
https://shopify.dev/themes/migration
Note there is also now in OS2.0 themes the option of using liquid code directly in custom liquid block through the visual theme editor with some limitations.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
I am having a similar issue. I need to edit in product.liquid too. Have you figured this out?
I think it's now under main-product.liquid
I'm kinda new to Shopify but I've been coding for a while and after messing around with a few files, I came to figure out that if I edit this file, then all my other product files will be modified accordingly.
Hope this helps
This is an accepted solution.
Online Store 2.0 themes use the JSON section architecture.
https://shopify.dev/themes/architecture/templates
https://shopify.dev/themes/architecture/templates/json-templates
So Vintage templates such as product.liquid get converted into a matching JSON template product.json
product.json is a JSON declarative file that lists what sections are in it.
Example being the bulk of product logic being in main-product.liquid (whereas in vintage themes it may have been product-template.liquid)
It is those sections you need to edit to include a custom snippet , or create to then integrate with product.json.
Learn to migrate vintage themes to OS2.0 themes here:
https://shopify.dev/themes/migration
Note there is also now in OS2.0 themes the option of using liquid code directly in custom liquid block through the visual theme editor with some limitations.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
Hi Paul,
quick question, i need help because i added the "ultimate badges from Conversion bear badges" into the theme dawn and i saw now that i placed it wrong.
Can you help me in which section i placed it. I need to remove it.
the URL is www.scheffinger.de
Thx for your support.
Peter
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025