All things Shopify and commerce
Ok here is my issue. I am trying to add variant picker to my page (custom product template created) but it does not show. If I go to the default product template I can add variant picker without issue.
I have looked in the code section and cannot find a .liquid file that matches my new custom product page to add the call for the variant picker.
Can someone please help with this.
@daspixl hey hope you are well
i think, The issue arises because your custom product template likely does not include the necessary code to render the variant picker. By default, Shopify's product templates have built-in logic to handle variant pickers, which might be missing in your custom template.
Not sure how to PM you, can't see the option. I know the logic is not there, i am looking for a solution to add it. From what I can tell when I created the custom product page it did not create a template under the code section. under the dropdown under customize theme i see Products > Default Page and Products > atv-utv-tires. Under the code editor I do not see a template (.liquid) file for this new page. I see main-product.liquid only no new template was created unlike when I created a custom Page.
In OS2.0 themes, templates are created as JSON files i.e. product.json.
Your NOT looking for a template your looking for the sections that templates use so organize content i.e. product.json > sections/main-product.liquid
If your building custom coded templates review the theme architecture .dev docs:
https://shopify.dev/docs/storefronts/themes/architecture/
If you need this customization, or theme repair services, or code-review then contact me.
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.
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
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024