How to Sort Shopify Variants
You can use Ablestar Bulk Product Editor to quickly sort your variants if they are 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
Step 1: Filter Products
From the Ablestar Dashboard, click the 'Products' menu:
- Enter search term to filter
- Click the Edit products button
Get expert tips on Searching and Filtering products
Step 2: Set the order of the Variants
In the 'Field to edit' dropdown, choose Sort Variants. Variant options should appear with sorting options:
Option Order
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.
Watch a quick video walk through on this sorting functionality
You can sort using the 'Sort by' option or click the arrows icon for a quick sort. Optionally, you can click and drag specific rows up and down to reorder.
In the 'Sort by' picklist, there are several shortcuts you can use:
- Alphabetical: This will sort the options alphabetically (case-insensitive)
- Numeric: This will sort the values numerically if a number can be extracted from the option value
- Size: This will sort values like "XS" "X-Large" from smallest to largest
Once the sort order of the options are set, you can scroll down to set the priority.
Option Sort Priority
The 'Option sort priority' section lets you choose which set of variant options to prioritize in sort-order. You can click and drag 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 | 4 |
Blue | 5 |
Red | 4 |
Red | 5 |
But if the order were Option 2, Option 1, the results would look like this:
Option 2 (Size) | Option 1 (Color) |
---|---|
4 | Blue |
5 | Blue |
4 | Red |
5 | Red |
Confirm the products in the preview pane are correct and click the Run edit button at the top of the page. If you decide to revert changes, click the 'Undo' option.
✅ Tips and Troubleshooting
- This function includes an 'undo' option if you decide to revert your changes
- The Shopify Help Center has helpful documentation for creating new variants
(07.90)