Reorder Variant (sizes) bottons

Topic summary

A user reports that product variants (clothing sizes) imported via Stock2Shop display in random order instead of the expected XS, S, M, L, XL sequence.

Proposed Solutions:

  • Manual reordering: Navigate to Shopify Admin → Product → Variants → More actions → “Reorder variants,” then drag-and-drop sizes into the correct sequence and save. This order will persist on the storefront.

  • Check variant option values: Verify in Shopify Admin → Products → edit product → Variants section that the “Option values” are sorted correctly at the product level.

  • Theme/code dependency: One responder notes that variant ordering may depend on the theme’s code and offers to assist if given collaborator access, suggesting the issue might require custom code modifications.

The discussion remains open with multiple troubleshooting approaches offered but no confirmed resolution yet.

Summarized with AI on October 24. AI used: claude-sonnet-4-5-20250929.

Hi
The products on our site are loaded via Stock2Shop, and for some reason the product variants are all out of order.
Should be displayed as XS, S, M, L, XL, etc.

But the order appears random.
Is there any way to force Shopify to display variants in a particular order automatically?

Hi @SDBdigital ,
In the Shopify Admin, go to a product → scroll down to Variants.

At the top-right of the variant table, click (More actions) → Reorder variants.

Drag and drop XS → S → M → L → XL into the correct order, then save.

Shopify will always display variants in this order on the storefront.

Best

Anmol

Hello @SDBdigital ,

I have checked and confirmed that on my store, there is no option to change the variant order or reorder functionality on the edit theme and this functionality depends upon code and your theme.

Now, can you please provide me with the collaborative code so that I can fix this for you?

Hi @SDBdigital

Please log in to your shopify admin > Products, edit that product and check Option values under Variants if they sort correctly