Why is my product only showing one size variant?

Solved

Why is my product only showing one size variant?

dazzlebysarah
Shopify Partner
26 0 0

hello everyone, I have a product with three different variants, sizes, colors, and full set, but the front end only shows one variant of size.

dazzlebysarah_0-1709097992458.png

and the backend is like this.

dazzlebysarah_1-1709098024091.png

 

when I try to add the variants with the app it not work properly, it show same price for all variants.

 

 

 

Accepted Solution (1)
Anshul_arora
Navigator
453 129 104

This is an accepted solution.

Hello @dazzlebysarah ,

Please add <style>....</style> tag before and after the code & save, similar to this ->
<style>
#shopify-section-template--16109887815773__main .variant-wrapper + .variant-wrapper {
display: block !important;
}
</style>

I hope it will work now.

Thank you.

Please remember to like and accept the solution to help other store owners.

For Shopify Design & Development | Custom Coding -Visit Here

View solution in original post

Replies 13 (13)

Anshul_arora
Navigator
453 129 104

Hello @dazzlebysarah ,

I have looked through your store code and see that "Full-Set" option are set as hide (or none) in code https://prnt.sc/zbNNDj_dhiXA

As when I have changed the display property, "Full-Set" option appears again https://prnt.sc/N7FgSVhOe2eq

Please add this code at the bottom of the theme.liquid file before </body> tag and save.

#shopify-section-template--16109887815773__main .variant-wrapper + .variant-wrapper {
display: block !important;
}


I hope the solution helps you.

Please let me know if you have any query.

Thank you.

Please remember to like and accept the solution to help other store owners.

For Shopify Design & Development | Custom Coding -Visit Here
dazzlebysarah
Shopify Partner
26 0 0

 

dazzlebysarah_1-1709117375257.png

 

I have added this but still it is not showing 

 

Anshul_arora
Navigator
453 129 104

This is an accepted solution.

Hello @dazzlebysarah ,

Please add <style>....</style> tag before and after the code & save, similar to this ->
<style>
#shopify-section-template--16109887815773__main .variant-wrapper + .variant-wrapper {
display: block !important;
}
</style>

I hope it will work now.

Thank you.

Please remember to like and accept the solution to help other store owners.

For Shopify Design & Development | Custom Coding -Visit Here
dazzlebysarah
Shopify Partner
26 0 0

yes it is working now
thank you so much, brother.

Anshul_arora
Navigator
453 129 104

I am glad the solution helps you.

Please let me if you need any assistance in future.

Thank you.

Please remember to like and accept the solution to help other store owners.

For Shopify Design & Development | Custom Coding -Visit Here
dazzlebysarah
Shopify Partner
26 0 0

brother can you help to write a general code. i am facing this issue with other products also

 

Anshul_arora
Navigator
453 129 104

Please let me know which of the specific products you are facing issues

Please remember to like and accept the solution to help other store owners.

For Shopify Design & Development | Custom Coding -Visit Here
dazzlebysarah
Shopify Partner
26 0 0

all the products 

tara 1

ABEERAH

and others

when ever I add the other variants they don't show in the front

 

Anshul_arora
Navigator
453 129 104

Hello @dazzlebysarah ,

Please add the below mentioned code at the bottom of theme.liquid file before </body> tag

<style>
.variant-wrapper + .variant-wrapper {
display: block !important;
}
</style>

I hope it will work with all the products.

Kindly add the code and let me know

Thank you.

Please remember to like and accept the solution to help other store owners.

For Shopify Design & Development | Custom Coding -Visit Here
dazzlebysarah
Shopify Partner
26 0 0

YES IT WORKED 
thank you so much brother

 

Anshul_arora
Navigator
453 129 104


Glad it works.

Please also like the solution, so it will help others.

Thank you.

Please remember to like and accept the solution to help other store owners.

For Shopify Design & Development | Custom Coding -Visit Here

Ihor-Sh
Shopify Partner
79 11 17

Hi @dazzlebysarah 
what about inventory? enough for all variants? or some with 0 quantity?

Shopify troubleshootibility 😉
If you're satisfied with reply - don't forget to like it.
If you more than satisfied - mark it as solution 😉
You can find me here.
dazzlebysarah
Shopify Partner
26 0 0

yes there is inventory for all the variants