Variants appearing in wrong order on the product page

Topic summary

Variant options on Shopify product pages (Wokiee theme) display in a different order than set in the Shopify admin, while collection/product grid pages honor the admin order.

  • Example: Intended order 3m, 9m, 18m, 2T, 3T, 5, 7, 9. Product page shows 5, 7, 9, 3m, 9m, 18m, 2T, 3T. The OP suspects the theme sorts variants so numbers appear before those containing letters.

  • Two others report the same behavior. One searched the theme code without finding where the sort happens.

  • Another case: a print store offers sizes 8x12–40x60 broadly, but for “blockmount” also offers 6x9. On the product page, 6x9 appears at the bottom rather than at the top, disrupting the intended ascending order. Screenshots are provided and central to understanding the misordering.

  • No fix, code location, or configuration setting has been identified in the thread.

Status: Unresolved. Key open question: where in the Wokiee (or product page) code the variant sorting is applied and how to enforce the admin-defined order across product pages.

Summarized with AI on December 12. AI used: gpt-5.

I have a Shopify store built with the Wokiee theme. I can rearrange the variant order in the Shopify Products section, and they seem to line up in the correct order on any of the collections pages, or any page with the ‘Product Grid’ design. But when you click into the product, the variants are out of order. I have 3m, 9m, 18m, 2T, 3T, 5, 7, 9. The variants are being ordered 5,7,9, 3m, 9m, 18m, 2T, 3T.

I believe the theme automatically puts the variants without letters before any of the variants with letters, based on some experimentation I did. Does anyone know a good place to check to see why my variants are being ordered wrong on my product page?

Thanks

2 Likes

Hi,

Did you ever find a solution for this? I have the same issue, and have scoured the code, but haven’t found anything.

I’m having a similar issue and could also use some help with this.

I have a photography prints business. I offer 8x12 through 40x60 for all products, fine art paper, dibond, etc, except for blockmount. For blockmount I only offer sizing in 6x9 through 20x30 (note that 6x9 is an additional size here - blockmount is the only product that I offer 6x9 for).

On the website the 6x9 size is at the bottom of the list rather than the top, so it’s out of chronological order.

Help?