Hi, everyone, I'm new in Shopify and not publishing my site yet, and I want to ask, how to add Categorized Size in Products Page?
for example, when the customers choose 'AU' Size, it will show the number that belongs to 'AU' Size, and if customers choose 'UK' Size, it will show the number that belongs to 'UK' Size.
How to do that?
hi @putradnata15 ,
There is no functionality to add specific value related to any variant option values on customer selection.
You need to perform this task using java-script to save all size number in an array , need to implement on-change event in variant option for size , if customer select size 'AU' then need to find number belong to selected size. Otherwise , you can change SIZE values like 'AU' to 'AU - 36' or 'AU(36)' or 'AU/36' . It will make sense for your clients.
Hi @ksh_verma, thank you for your reply!
Because there are many variants such as AU, UK, EU, US, I think cannot be written like that.
(If you are a developer or from tech background - you can try to code it).
As a solution -
Display variant like this:
AU, UK, US, CN
And by default display Size Number of AU (first variant).
And using jQuery click function on another variant -
Display Size Number of that Variant and hide other size numbers of other variants.
Initially - you need to hide all other Size Number that are not belongs to first variant.
Let me know - if you still need the help.
If you are not familiar with Shopify structure then it will not be that easy for you.
Because this task will requirement a developer level expertise as you will have to edit Liquid, JQuery code on product detail page.
You can take help from this thread : https://community.shopify.com/c/Shopify-Design/How-to-quot-Hook-quot-OptionSelectors-Callback-functi...