Variable products are a product type in WooCommerce 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.
Go to: Seller Dashboard >Products.
Click Add Product button or Edit an existing product. The Product Data displays.
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:
Create global attributes.
Select one from the dropdown and click Add.
Choose Select all to add all attributes to the variable product (if applicable).
Enable the Used for variations checkbox to tell WooCommerce it’s for your variations.
Click Save attributes.
Adding a global attribute
Adding global attribute values
Step 3. Add Variations
To add a variation, go to the Variations Tab
Manually Add a Variation
Select Add variation from the dropdown menu, and select Go.
2. Select attributes for your variation. To change additional data, click the triangle icon to expand the variation.
4. Edit any available data. The only required field is Regular Price.
5. Click Save changes.
Creating All Possible Variations
Select Create variations from all attributes to have WooCommerce create every possible combination of variations and click Go:
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
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.
Tax status – Taxable, shipping only, none.
Tax class – Tax class for this variation. Useful if you are offering variations spanning different tax bands.
Stock quantity – Shows if Manage stock? is selected. Allows to set the current stock level for the variation.
Allow backorders? – Shows if Manage stock? is selected. Allows to set if backorders are allowed for the variation; if enabled, stock can go below zero.
Low stock threshold – Shows if Manage stock? is selected. When the stock for the variation reaches this level you will get a notification email. If not set, the product-wide threshold will be used (see Inventory Management below).
—————– SHIPPING BY COUNTRY ——————
PLEASE NOTE: Shipping
When choosing free Shipping Worldwide, choose EVERYWHERE ELSE and add 0.
For one or more shipping destinations, add one or more countries with shipping cost( even if shipping cost is free add 0 to each country with free shipping).
When you add (one) or few countries with shipping cost, all other countries without shipping cost are considered as shipping is NOT available. (Countries without shipping cost will not be able to checkout in this case).
If you add shipping cost by weight, make sure to add weight to each individual product.
3.The in shipping by country settings vendor can set the fields below.
Processing Time: The time in which the vendor usually process the shipping.
Ships from: The country from were the vendor ships products.
These two fields do not affect the shipping costs.
The Brand can set the shipping price for each country selecting the country name from each dropdown.The number of country selection box can be increased by clicking the plus sign in the bottom of the country selection box.
Shipping price for states of individual countries can also be entered by selecting the state names from State Shipping Rates box and entering the shipping cost of the respective states. The number of state selection box can also be increased per country by clicking the plus sign in the bottom of the state selection box.
When the customer adds the product of the vendor in the cart the shipping cost for the vendor will be calculated according to the shipping country selected by the customer.