I created a new product template which appears in the template dropdowns in the customizer and on the product entry page. I would like my new custom template to be the one that is used first (as the “default” is now) so when a new product is added moving forward, the person adding the product info won’t need to select the custom template because it will already be selected. Using the Avenue 2.0 theme.
Thanks for any help!
-Andy
Hi @abrownbrooklyn ,
First, you need to create a new template and move all the code of the product.json file to the new template.
Then you need to move all the code of the template you want to default to the product.json file.
This is the only way for it, refer: https://shopify.dev/themes/architecture/templates#alternate-templates
Hope it helps!
Hello @abrownbrooklyn ,
- To fix this issue you must delete or rename the current default product template which is “product.json” or “product.liquid”
- You can either delete or rename this file as “product.backup.liquid” or “product.backup.json”
- Once done with the above steps, you will need to rename your customized product template as “product.liquid” or “product.json”
Hope it helps, please let us know if you have any questions.
All the best,
Team CedCommerce