HELP - variant picker on custom product page not showing

HELP - variant picker on custom product page not showing

daspixl
Visitor
2 0 0

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.

Replies 3 (3)

comercioservice
Shopify Partner
283 38 35

@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.


I hope it works for you, let me know, and If you'd like to discuss this more, don't hesitate to send me a PM
Thank you
Was my reply helpful? Click Like to let me know! Was your question answered? Mark it as an Accepted Solution.
Need store customizations, bug fixing or development ? Contact with us -- Support form for quick quote!
BFCM Big Deals: Big savings 25% off -on our Shopify FAQs apps!
daspixl
Visitor
2 0 0

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.

 

PaulNewton
Shopify Partner
7612 671 1599

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