Create Product Variants
Sell one product in several versions, such as a cup in three colors, with an EverShop variant group.
Each variant is its own product. To learn what variants share, read How Variants Work.
Before you start
- Create a Select attribute for the choice, such as Color, with one option for each version. See Create an Attribute.
- Add that attribute to the product's attribute group. A variant group can only use attributes of the product's attribute group.
- Choose the product's attribute group before you create the variant group.
- Save the product first, with every required field filled in. The Variant Group card appears only on the edit page of a saved product.
- In the product's Attribute group card, choose its own option, such as White, and save. A product without a value does not appear as a choice on the storefront.
Create the variant group
- Go to Catalog › Products and click the product that needs variants.
- In the Variant Group card, click Create a variant group.
- Under Select the list of attribute, select the attributes the variants differ by, such as Color. You can select up to 5.
- Click Create.
EverShop saves the variant group at once, without the product's Save button. The open product is the first product in the group. The card now shows a table of variants and an Add Variant button.
The list in step 3 shows only Select attributes of the product's attribute group. If there are none, the card shows There is no "Select" attribute available.
Add a variant
-
In the Variant Group card, click Add Variant. The New Variant dialog opens.
-
Optional: click the camera icon to upload the variant's images.
-
For each variant attribute, choose the variant's option, such as Color Red.
-
Enter the Sku and the Quantity in stock.
-
Turn on Status to sell the variant. Turn on Visibility to show the variant as its own product on category pages and in search results. Both are off in a new variant.
-
Click Save. The message "Variant created successfully" appears, and the new variant appears in the table.
-
In the table, click the new variant's SKU. The variant's own edit page opens.
-
Change the Product Name, the URL Key and the Meta Title. Change the Price and other fields if they are different for this variant. Click Save.
What a new variant copies
The New Variant dialog asks only for the fields that differ between variants. EverShop copies the rest from the product you have open:
- The Product Name, Price and Description. A red cup made from the white cup starts with the name Ceramic Coffee Cup - White. That is why you rename it in step 8.
- The category, tax class, stock settings, shipping settings, SEO fields and the values of the other attributes.
- The URL Key is the open product's URL key plus the SKU:
ceramic-coffee-cup-white-cup-001-red. Change it in step 8, for example toceramic-coffee-cup-red.
A new variant has only the images you upload in the dialog.
The Variant Group card
The table in the Variant Group card lists the other products of the group. The product you have open is not in it. Each row shows the image, the option (such as Color), Sku, Price, Stock and Status. Click a SKU to open that variant's edit page.
- With no other products, the table shows "This product has no other variants yet."
- With more than five other variants, filters appear above the table. A variant attribute, such as Color, gets a filter when the variants use two or more of its options.
- The gear icon under Actions opens the Edit Variant dialog. It has the same fields as the New Variant dialog.
Change or remove a variant
- Change a variant: click its SKU in the Variant Group card. Change the fields on the variant's edit page and click Save.
- Stop selling a variant: set its Status to Disabled on its edit page. A disabled variant is not a choice on the storefront.
- Remove a variant: delete it. See Edit, Duplicate or Delete Products.
- Add an existing product: use a CSV import. See Import Products from CSV.
What your customers see
The product page shows a button for each option, such as Black, White and Yellow. When a customer clicks one, the page shows that variant's name, price, SKU and images. A variant is a choice only when it is enabled and its option is set. For more, see What customers see on the product page.
Troubleshooting
Why does my new variant not appear on the storefront?
A new variant is disabled until you turn on Status. Open the variant's edit page and set Status to Enabled. Also check its stock. An out-of-stock variant is not a choice when Show out of stock products is off. See Catalog Settings.
Next steps
- Manage StockSet and track the stock of each variant.
- Add Product ImagesGive each variant its own photos.
- How Variants WorkWhat variants share and how they show in lists.
- Import Products from CSVCreate many variants at once.
For developers
To create variant groups and add variants with code, see the Product Variant REST API.