Variable Product

Variable products are a product type in So Vegan Market that lets you offer a set of variations on a product, with control over prices, stock, image and more for each variation. They can be used for a product like a shirt, where you can offer a large, medium and small and in different colors.

Adding a Variable Product #

Step 1. Set the Product Type #

To add a variable product, create a new product or edit an existing one.

  1. Go to: > Store Dashboard
  2. Select the Add Product button or Edit an existing product. The Product Data displays.
  3. Select Variable product from the Product Data dropdown.

Step 2. Add Attributes to Use for Variations #

In the Attributes section, add attributes before creating variations — use global attributes that are site-wide or define custom ones specific to a product.

Global Attributes #

To use a global attribute:

  1. Go to the Attributes tab.
  2. Select one from the dropdown and click Add.
  3. Choose Select all to add all attributes to the variable product (if applicable).
  4. Enable the Use as variation checkbox to tell SVM it’s for your variations.
  5. Save the listing as a draft.

Custom Attributes #

To add a new attribute specific to this product:

  1. Select the attribute tab and fill the Name (e.g., Size), and set values separated by a vertical pipe, | (e.g., Small | Medium | Large).
  2. Enable the Use as variation checkbox.
  3. Save the listing as a draft.
Adding a custom attribute
Adding custom attribute values

Step 3. Add Variations #

To add a variation, go to the Variations tab.

Select attributes for your variation.

Creating All Possible Variations #

Select Create variations from all attributes to have SVM create every possible combination of variations and click ok on the information box.

It will create a new variation for each and every possible combination of variation attributes (max 50 per run). If you have more possible combinations you can run it again.

If you have two attributes – color (with values blue and green) and size (with values large and small) it creates the following variations:

  • Large Blue
  • Large Green
  • Small Blue
  • Small Green

If you later add additional attributes, it may require the variables to be redefined for the variation combinations to work correctly.

Setting Defaults #

Set defaults you prefer on variations. In the example, no default form values were set, so users can pick any color and size right away from the product page.

If you want a certain variation already selected when a user visits the product page, choose the default form values. This also enables the Add to Cart button to appear automatically on variable product pages.

You can only set defaults after at least one variation has been created.

Adding Variation Data #

Each variation can have the following properties.

General #

  • Enabled – Enable or disable the variation.
  • Downloadable – If this a downloadable variation.
  • Virtual – If this product isn’t physical or shipped, shipping settings are removed.
  • Regular Price (required) – Set the price for this variation.
  • Sale Price (optional) – Set a price for this variation when on sale.

Inventory Management #

Inventory for variable products can be managed on product and variation level.

The following settings are available if you choose to manage stock on a product level:

  • SKU – If you use SKUs, set the SKU or leave blank to use the product’s SKU.
  • Manage Stock? – Tick the box to manage stock at the variation level.
  • Stock Quantity – Shows if Manage Stock is selected. Input the quantity. Stock for the specific variation, or left blank to use the product’s stock settings.
  • Allow Backorders – Choose how to handle backorders.
  • Sold Individually? – Allow only one to be sold in one order. (This setting is used for the product itself. You cannot set a specific variation to only be sold once per order.)

Choosing to manage stock for variations individually allows you to edit the same properties for each variation.

Set Stock Status can be applied to all variations at once to In stock or Out of stock. Bulk-update under Variations:

Shipping #

  • Weight – Weight for the variation, or left blank to use the product’s weight.
  • Dimensions – Height, width and length for the variation, or left blank to use the product’s dimensions.
  • Shipping class – Shipping class can affect shipping. Set this if it differs from the product.

Add an Image to the Variation #

  1. Expand the variation.
  2. Click the grey image placeholder
  3. Select or upload the image you wish to use.

Bulk Editing #

You can bulk-edit variations by selecting the specific piece of data you want from the dropdown. In this example, I want to edit prices for all variations:

4. Linked Products #

You can also select products to use as Upsells and Cross-sells. Go to the linked tab and select the products you wish to link to your listing.

If the SKU, weight, dimensions, and stock fields are not set, then it inherits values assigned to the variable product. Price fields must be set per variation.

What Customers See #

On the frontend, when viewing a variable product, the user is presented with dropdown boxes to select variation options. Selecting options will reveal information about the variation, including available stock and price.

If the user tries to click the greyed out add to cart button before choosing an attribute, a message will appear asking them to select some attributes.

In the product archive page, Add to Cart does not display because a variation must first be chosen before adding to cart on the product page.

Need Help? Chat with us