Liquid, JavaScript, themes, sales channels
Can anyone help me please ? I need hide unavailable product variants from listing . Now its showing me all. For example : - When someone click on pack option it showing all variants but it should hide the size options "66" & "56" . Same in sizing range options. It should hide "medium" and "large" option. See below image.
I tried few code but its not working properly.
What you're looking to do doesn't typically come natively in Shopify themes. We do offer an advanced tutorial on how to make variants unavailable here; however, I can't guarantee that it'll work with your theme. If you do attempt to make any changes I would recommend downloading a copy of your theme by going to Online Store/Themes/Actions/Download. This way you have a backup copy should you have any issues with the changes you've made.
If you're not comfortable making the changes, or if the tutorial doesn't work, then your best bet would be to hire a Shopify Expert if another Community member isn't able to provide insight on how to make these changes.
Trevor | Community Moderator @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024