Sorting Shopify Variants

You can use Ablestar Bulk Product Editor to sort quickly sort your variants if they're out of order.

The steps for sorting variants are:

  • Choose which products to sort
  • Set the order of the option values
  • Set the priority for options 1, 2, and 3
  • Sort the variants

In this article, we'll cover each step in detail.

Choose which products to sort

  1. Open up the app and filter for the products that you want to edit
  2. Click on Edit Products at the top of the screen

Step 2: Set the order of the option values

On the next screen choose Sort Variants in the "Field to Edit" dropdown. This will cause the app to analyze all the matching products and find all the possible option values their variants have. 

When this is complete you can choose how to sort the variants. The Option Order section shows all the values that the variants have for their different options. The number in the grey circle shows how many matching variants have that option.

You can change the sort order by dragging the different option values ("X-Large," for example) up and down. The ordering in each of these lists will be the order that's used when the variants are sorted. 

At the top of each column, there are also several shortcuts you can use to speed things up:

  • Alphabetical Sort - This will sort the options alphabetically (case-insensitive)
  • Numeric Sort - This will try and sort the values numerically if a number can be extracted from the option value
  • Size Sort - This attempts to sort site values like "XS" "X-Large" from smallest to largest
  • Reverse - This reverses the order of the list

Once the sort order of the options is set, you can scroll down to set the priority of the different options.

Step 3: Set the priority for options 1, 2, and 3

The Option Priority section lets you choose which set of option values to sort first. You can drag the Option 1, Option 2, and Option 3 boxes up and down to choose the order. For example, if the order were Option 1, Option 2, the results would look like this:

Option 1 (Color)  Option 2 (Size) 
Blue 
Blue 
Red 
Red 

But if the order were Option 2, Option 1, the results would look like this:

Option 1 (Color)  Option 2 (Size)   
Blue   
Red   
Blue   
Red   

Step 4: Sort the variants 

Now that the sorting options are set click  on Run Edit at the top of the page. The sorting process is regarded as an In-App Edit, so you can undo the sorting if you're not happy with the results.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.