Adding variants
You can add variants to a product that has more than one option, such as size or color. Each combination of option values for a product can be a variant of that product.
When you add a product, you can adjust the Pricing, Inventory, and Shipping settings for the product from the product details page. However, when you add variants to the product, you need to adjust those settings for each variant from the variant details page.
On this page
- Considerations for adding variants
- Add variants to a product
- Add a variant with category metafields
- Edit variant options connected to a category metafield
- Disconnect a category metafield from a variant
- Migrate variant options to category metafields
- Add values to an existing option
- Add a variant manually
- Add a variant by duplicating an existing variant
- Duplicate multiple variants in bulk
Considerations for adding variants
Before you add variants to your product, review the following considerations:
- You can create up to 100 variants for a product.
- Each product can have up to three options. The options can be different from product to product. For example, one product can use size, color, and style, and another product can use weight, finish, and material.
- You can use category metafields to create variant options. The data is reusable so that you have more consistent content. For example, if you need to change the name of your color from
black
tographite
, then you could make the change one time and it updates anywhere you connected that category metafield entry. When you use color entries as variant options, you can display variant options as swatches for color options on your storefront products pages. - If you want to save specialized information for your variants, then you can add custom fields to your variant details pages by using metafields. If you use an Online Store 2.0 theme, such as Dawn, the free Shopify theme, then you can add references to your product variant metafields through the theme editor.
- If you have 50,000 or more variants in your store, then you're subject to a daily rate limit for uploading variants by using an app or CSV file import. You can add up to 1,000 new variants in a day before the limit is reached. If you're on the Shopify Plus plan, then the daily rate limit for uploading variants doesn't apply to your store.
Add variants to a product
You can add options and option values to generate new variants for your product. After you save the variants, you can add prices to them.
Desktop
Steps:
From your Shopify admin, go to Products.
Click the product that you want to edit.
In the Variants section, click + Add options like size or color.
In Option name field, enter a name for the option, such as Size. The option name is displayed to your customers.
In Option values section, enter each option value, such as Small, Medium, or Large. The option values are displayed to your customers when they select a variant.
Optional: To add another option to your variant, such as Color or Material, click + Add another option. You can have up to 3 options for each product.
Click Done, and then click Save.
iPhone
- From the Shopify app, go to Products > All products.
- Tap the product that you want to edit.
- In the Variants section, tap + Add options like color, size, etc.
- In Option field, enter a name for the option, such as Size. The option name is displayed to your customers.
- In Values section, enter each option value, such as Small, Medium, or Large. The option values are displayed to your customers when they select a variant.
- Optional: To add another option to your variant, such as Color or Material, tap + Add another option. You can have up to 3 options for each product.
- Tap Save.
Android
- From the Shopify app, go to Products > All products.
- Tap the product that you want to edit.
- In the Variants section, tap + Add options like color, size, etc.
- In Option field, enter a name for the option, such as Size. The option name is displayed to your customers.
- In Values section, enter each option value, such as Small, Medium, or Large, in a separate field. The option values are displayed to your customers when they select a variant.
- Optional: To add another option to your variant, such as Color or Material, tap + Add another option. You can have up to 3 options for each product.
- Tap ✓.
Add a variant with category metafields
You can add variants by connecting a variant option to a category metafield. When variant options are connected to metafields, it makes data reusable across your store and content edits are much easier. For example, if you need to change the name of your color black
to graphite
, then you can edit the entry from the Content > Metaobjects page in your admin and the change will update everywhere the color is connected.
When you're adding a variant, a list of category metafields display that you can connect to or you can create a custom option.
Steps:
Desktop
From your Shopify admin, go to Products.
Click the product that you want to edit.
In the Variants section, click + Add options like size or color.
If a category metafield is available to connect to, then select it. The option values are automatically filled with any entries you have added to the category metafield. You can select more option values or create new ones.
Optional: If you want to add custom option values, then click Edit, and then click Add new entry. Fill out the entry fields, and then click Save.
Click Save to save the product.
iPhone
- From the Shopify app, go to Products > All products.
- Tap a product.
- In the Variants section, tap + Add options like size or color.
- If a category metafield is available to connect to, then tap to select it. The option values are automatically filled with any entries you have added to the category metafield. You can select more option values or create new ones.
- Optional: If you want to add custom option values, then type the option in the Add value field. Tap + Add {option name}, fill out the entry fields, and then tap Save.
- Tap Save to save the product.
Android
- From the Shopify app, go to Products > All products.
- Tap a product.
- If you have no variant options, then in the Variants section, tap + Add options like size or color. If you have variant options, then in Options section, tap Edit, and then tap Add option.
- If a category metafield is available to connect to, then tap to select it. The option values are automatically filled with any entries you have added to the category metafield. You can select more option values or create new ones by tapping Add value, and then tapping the values that you want to add.
- Optional: If you want to add custom option values, then type the option in the Add value field. Tap + Add {option name}, fill out the entry fields, and then tap ✓.
- Tap ✓ to save the product.
Edit variant options connected to a category metafield
You can add or edit variant options connected to a category metafield.
Steps:
Desktop
From your Shopify admin, go to Products.
Click the product with the option values that you want to edit or add.
Click the variant option, and then click the option value field.
Click the entry that you want to edit, and then click Edit.
Edit the fields as needed.
Click Save.
iPhone
- From the Shopify app, go to Products > All products.
- Tap the product with the option values you want to edit or add.
- To edit option values connected to a category metafield, in the Options section, tap Edit, and then tap the variant options that you want to edit or add values to. Tap Add value, and then View all. Select additional values. Tap Save.
- To add option values connected to a category metafield, in the Options section, tap Edit, and then tap the variant options that you want to edit or add values to. Tap Add value, and then View all. Tap +. Fill in the fields for the new entry for your category metafield.
- Tap Save.
Android
- From the Shopify app, go to Products > All products.
- Tap the product with the options values you want to edit or add.
- To edit option values connected to a category metafield, in the Options section, tap Edit, and then tap the variant options that you want to edit or add values to. Tap Add value, and then View all. Select additional values. Tap Save.
- To add option values connected to a category metafield, in the Options section, tap Edit, and then tap the variant options that you want to edit or add values to. Tap Add value, and then View all. Tap +. Fill in the fields for the new entry for your category metafield.
- Tap ✓.
Disconnect a category metafield from a variant
You can disconnect a category metafield from a variant.
Steps:
Desktop
From your Shopify admin, go to Products.
Click the product that you want to edit.
In the Variants section, click Edit next to the option that you want to disconnect from your category metafield.
Click the category metafield name, and then click Disconnect. The option is removed from the Variants section and placed in the Metafields section.
Click Save to save the product.
iPhone
- From the Shopify app, go to Products > All products.
- Tap the product that you want to edit.
- In the Options section, tap Edit, and then tap the option that you want to disconnect from your category metafield.
- Tap Connected to metafield, and then tap Disconnect.
- Tap Save to save the product.
Android
- From the Shopify app, go to Products > All products.
- Tap the product that you want to edit.
- In the Options section, tap Edit, and then tap the option that you want to disconnect from your category metafield.
- Tap Connected to metafield, and then tap Disconnect.
- Tap ✓ to save the product.
Migrate variant options to category metafields
If you've already created a product with variant options, then you can migrate your values to category metafields and quickly generate the multiple new variant combinations. If you use category metafields to create your variant options, then you can update variant option names in a single location and it updates wherever that category metafield value is connected.
For example, if you currently offer three sizes (Small, Medium, and Large) and two colors (Red and Blue), and you want to add a third color Yellow, then this method will create the 3 possible sizes of yellow variants at one time.
Connect the category metafield to an existing option by clicking the dynamic source icon ⛁;
Desktop
Steps:
From your Shopify admin, go to Products.
Click the product with variant options that you want to migrate to category metafields.
-
Optional: If your product doesn't have a Category, then complete one of the following steps:
- Enter your product’s category, and then select the most accurate result from the Product category list.
- Click through each level of the categories and subcategories to find your product category.
- Click Suggested to accept the suggested category.
-
To connect the your variant option to a category metafield, complete either of the following tasks:
- Click an existing option, click the dynamic source icon, and then click the category metafield that you want to connect.
- Click Add another option, and then click the category metafield that you want to connect.
Click Save.
iPhone
- From the Shopify app, go to Products > All products.
- Tap the product with variant options that you want to migrate to category metafields.
- Optional: If your product doesn't have a Category, then complete one of the following steps:
- Tap Select category, enter your product’s category, and then select the most accurate result from the Category list.
- Tap Select category, tap through each level of the categories and subcategories to find the most accurate product category, and then tap the category to select it.
- In the Options section, tap Edit.
- To connect the your variant option to a category metafield, complete either of the following tasks:
- Tap an existing option, tap No connected source, and then tap the category metafield that you want to connect.
- Tap Add option, and then tap the category metafield that you want to connect.
- A dialog displays with a message that the existing values will be cleared. Tap Continue.
- Tap Save.
Android
- From the Shopify app, go to Products > All products.
- Tap the product with variant options that you want to migrate to category metafields.
- Optional: If your product doesn't have a Category, then complete one of the following steps:
- Tap Select category, enter your product’s category, and then select the most accurate result from the Category list.
- Tap Select category, tap through each level of the categories and subcategories to find the most accurate product category, and then tap the category to select it.
- In the Options section, tap Edit.
- To connect the your variant option to a category metafield, complete either of the following tasks:
- Tap an existing option, tap No connected source, and then tap the category metafield that you want to connect.
- Tap Add option, and then tap the category metafield that you want to connect.
- A dialog displays with a message that the existing values will be cleared. Tap Continue.
- Tap ✓.
Add values to an existing option
If you've already created a product with variant options, then you can add new values to it to quickly generate the multiple new variant combinations.
For example, if you currently offer three sizes (Small, Medium, and Large) and two colors (Red and Blue), and you want to add a third color Yellow, then this method will create the 3 possible sizes of yellow variants at one time.
Desktop
Steps:
From your Shopify admin, go to Products.
Click the product that you want to edit.
In the Variants section, click Edit next to the option you want to add a value to.
In the Add another value field, enter another value.
Click Done.
Optional: Add a different product image for each new variant. You can also add prices, quantities, SKUs, barcodes, HS codes, country/region of origin, and locations for the new variants, or use the defaults based on the product details.
Click Save.
iPhone
Steps:
- From the Shopify app, go to Products > All products.
- Tap the product that you want to edit.
- In the Options section, tap Edit.
- In the option that you want to add values to, tap Values,
- In the Value field, enter another value.
- Tap Save.
You can also add product images, prices, quantities, SKUs, barcodes, HS codes, country/region of origin, and locations for the new variants, or use the defaults based on the product details.
Android
Steps:
- From the Shopify app, go to Products > All products.
- Tap the product that you want to edit.
- In the Options section, tap Edit.
- In the option that you want to add values to, tap Values,
- In the Value field, enter another value.
- Tap ✓.
You can also add product images, prices, quantities, SKUs, barcodes, HS codes, country/region of origin, and locations for the new variants, or use the defaults based on the product details.
Add a variant manually
You can add variants one at a time. Before you can save a new variant, at least one of its option values need to be new. You can't save an exact duplicate of another variant that already exists.
Desktop
Steps:
From your Shopify admin, go to Products.
Click the product that you want to edit.
In the Variants section, click Add variant.
Enter the option values in the existing options fields.
Optional: Add a different product image for each new variant. You can also add prices, quantities, SKUs, barcodes, HS codes, country/region of origin, and locations for the new variants, or use the defaults based on the product details. If you do make changes, then click Save.
Click Save.
iPhone
Steps:
- From the Shopify app, go to Products > All products.
- Tap the product that you want to edit.
- In the Variants section, tap +.
- Enter the option values in the existing options fields.
- Optional: To add a product image to your new variant, click +, and then select a variant image. You can also add prices, quantities, SKUs, barcodes, HS codes, country/region of origin, and locations for the new variants.
- Tap Save.
Android
Steps:
- From the Shopify app, go to Products > All products.
- Tap the product that you want to edit.
- In the Variants section, tap +.
- Enter the option values in the existing options fields.
- Optional: To add a product image to your new variant, click +, and then select a variant image. You can also add prices, quantities, SKUs, barcodes, HS codes, country/region of origin, and locations for the new variants.
- Tap ✓.
Add a variant by duplicating an existing variant
You can duplicate a variant to save time when adding similar variants, rather than entering the same details again. The duplicate variant has the same details as the original variant.
Before you can save a duplicated variant, you need to edit at least one of its option values. You can't save an exact duplicate of itself or another variant that already exists. You can only duplicate a variant in the Shopify admin on desktop or mobile.
Steps:
From your Shopify admin, go to Products.
Click the product that you want to edit.
In the Variants section, click the variant that you want to duplicate, and then click Duplicate.
Edit an option value to create an unique variant. You can add a new option value, or add one that is already in use for the product variants.
Optional: Add a different product image for each new variant. You can also add prices, quantities, SKUs, barcodes, HS codes, country/region of origin, and locations for the new variants, or use the defaults based on the product details.
Click Save.
Duplicate multiple variants in bulk
If you need to create a new variant with the same options as a variant that you've already customized, then you can use a bulk action to duplicate the existing variant and add a new option.
To use a bulk action to add new variants, you need to select multiple similar variants and duplicate their details and then change at least one option value.
For example, you might sell T-shirts with two options: Size and Color. Your blue and red shirts are well-stocked and cost the same, but all of your yellow shirts are limited-edition, cost more, and are stored at a different warehouse. If you wanted to introduce green as a new limited-edition color, then duplicating the yellow variants will save you time when setting quantities, prices, and locations for your green variants.
If a variant already exists, then duplicating a variant won't create a second copy. For example, you sell yellow T-shirts in small, medium, and large. You manually add a green T-shirt variant for size small. If you duplicate the color variant (yellow) to create green T-shirts in all available sizes, then the duplication will only create green T-shirts in medium and large, as the green T-shirt in size small already exists.
Steps:
From your Shopify admin, go to Products.
Click the product that you want to edit.
In the Variants section, select variants that you want to duplicate. The variants that you select need to have the same option value that you're adding, and different options values for all other options, such as green T-shirts in small and medium sizes.
Click ....
In the DUPLICATE VARIANTS section, click the "...in another Option" based on the set of variants you selected.
In the Create duplicate variants dialog, enter the value for the new variants that you want to create, and then select the information to copy from the existing variants.
Click Duplicate.