I’m struggling with implementing an old school template
sections/main-product.liquid
Hello from section file!
{{ product.title }}
:star: ️ :star: ️ :star: ️ :star: ️ :star: ️
{% schema %} { "name": "Section name", "settings": [ { "id":"tax_notice", "type":"text", "label":"tax notice" }, { "id":"show_reviews", "type":"checkbox", "label":"show reviews" } ] } {% endschema %}{% stylesheet %}
{% endstylesheet %}
{% javascript %}
{% endjavascript %}
templates/product.old.liquid
Hello from old template!
{% section ‘main-test-product’ %}
templates/product.new.json
/*
-
- IMPORTANT: The contents of this file are auto-generated.
- This file may be updated by the Shopify admin theme editor
- or related systems. Please exercise caution as any changes
- made to this file may be overwritten.
-
*/
{
“sections”: {
“main”: {
“type”: “main-test-product”,
“settings”: {
}
}
},
“order”: [
“main”
]
}
Creating Old Test Product:
(I clicked the eyeball next to ‘Theme Template’:old and it showed me ‘View Old Template’ image below.)
Creating New Test Product:
(I clicked the eyeball next to ‘Theme Template’:new and it showed me ‘View New Template’ image below.)
View Old Template:
(This is what I saw after I clicked the eyeball next to ‘Theme Template’:old in ‘Creating Old Test Product’ image above.)
View New Template:
(This is what I saw after I clicked the eyeball next to ‘Theme Template’:new in ‘Creating New Test Product’ image above.)
Old Product View ***This is the challenge for me because I don’t see the old test product image or the message from the section.
New Product View












