Hope you are well !!
I have multiple variants set in my product and when I open that product I want to display the lowest variant price default selected. can anyone guide me on how can I do that?
Hello, @tecoektamerai! Great question.
The order of your variants can be edited following the Help Doc for Change the display order of options. Whichever order you arrange your options in following those steps, will also be how they display on the Product page on your storefront. Therefore, if you reorder the options to have your lowest priced variant to be first on the list, then this will be the variant that is displayed by default. Does that make sense? Let me know if it helps!
Thank you so much for your reply !!
I have checked the shopify document and I know about the Reorder variants . but I want to display size-wise variant don't want to reorder.
for e.g I'm selling shoes then its variant option is size. and size is 40,43,45 and the price for 40 is 520, for 43 is 420, for 45 is 440 so when the user opens the product how to default select 43 variants because size 43 variant price is the lowest . i don't want to reorder this I want to apply custom code so if you have suggestions for this?
No problem, @tecoektamerai! Thanks for explaining further. This is a customization that can be coded into your theme. Which theme are you using?
If it’s a free Shopify theme, then this is a supported customization and we’d be happy to check your design time eligibility and escalate a request for it to the Theme department for you. To move forward with this, please create a support request via the Shopify Help Center by live chat, email or phone callback.
Let me know if I can help with anything else.
That’s great, @tecoektamerai! Dawn is a Shopify-made theme. Therefore I encourage you to create a support request as explained above, and we'll find out if the Shopify Theme department is able to make this customization for you.