Search, filter, and group variants

All your products variants are listed in the Variants section of the product details page. Variants are also grouped together by option. Searching and filtering your variant list can help you find the specific variants that you need to edit, review, or update.

You can search and filter option values to find specific variants, as well as filter by location to display available inventory for a specific location.

Search and filter variants by option value

In the Variants section of the product details page, you can search for variants by title, and filter your variant list to display a subset of variants matching a specific option value. If your variants have more than one option, then you can add one filter for each option. Option filters can be used with the search for more specific results. If you add more than one filter, then only the variants that match all of the conditions are displayed.

For example, you sell a hat that comes in many sizes and colors. The small size hats in black are going to be discounted as part of a sale, so you need to adjust the price of that variant. You can open the variant search and filter, and from the Size option, select Small, then from the Color option, select Black. This will adjust the variant list to only display the small, black hat.

Steps:

  1. From your Shopify admin, go to Products.

  2. Click the product that you want to edit.

  3. In the Variants section, click the search and filter icon to open the search bar and options filter.

  4. Adjust which variants display in one or both of the following methods:

    • Type the name of the variant in the search bar.
    • Click one of the available options and select an option value.
  5. Optional: Remove a search term or filter to display more results using one of the following methods:

    • To remove a search term, delete the text in the search bar.
    • To remove a single option filter, click the option name, then click Clear.
    • To remove all option filters, click Clear all.

Filter by location

By default, the available quantity for all locations displays in the Variants section. You can filter by location to display available quantities for a specific location. You can edit available inventory after you filter by location. Click All locations to display the total available inventory for all locations.

Steps:

  1. From your Shopify admin, go to Products.

  2. Click the product that you want to edit.

  3. In the Variants section, click All locations.

  4. Select the location you want to review or update.

Group by option

Variants are grouped by variant option, and display the total number of variants within the group. To display or manage the variants within a group, click the top level variant to toggle open the group and edit individual variants within in the group.

If you have more than one variant option, then you can change the way variants are grouped by clicking one of the other variant options under Group by in the Variants section of the product details page. By default, if there is more than one option, then variants are grouped by the first option assigned. To change the default group, you can change the display order of variant options.

Ready to start selling with Shopify?Try it free