🛒 MODULE: Product Listing – Variable Product in WooCommerce
âś… Step 1: Log in to WordPress Admin
-
URL:
yourdomain.com/wp-admin
-
Go to Dashboard.
âś… Step 2: Install & Activate WooCommerce (if not done)
-
Go to Plugins > Add New.
-
Search for WooCommerce.
-
Click Install Now → Activate.
âś… Step 3: Add New Product
-
Go to Products > Add New
Fill in:
-
Product Name
-
Description (Long product description)
-
Product Image
-
Product Gallery (optional)
đź“· [Image Idea: Screenshot of “Add New Product” screen with fields labeled]
✅ Step 4: Set Product Type to “Variable Product”
Scroll down to the Product Data section:
-
Select Variable Product from the dropdown.
📷 [Image Idea: Dropdown showing “Simple product” changed to “Variable product”]
âś… Step 5: Create Product Attributes
Go to the Attributes tab under Product Data:
-
Click Add (for example: Size or Color)
-
Enter name (e.g., “Size”)
-
Enter values separated by a
|
symbol (e.g., Small | Medium | Large) -
Check both:
-
Visible on the product page
-
Used for variations
-
-
Click Save attributes
đź“· [Image Idea: Adding attributes screen with Size values entered]
âś… Step 6: Configure Variations
Now go to the Variations tab:
-
Click Add variation → choose “Create variations from all attributes” → Click Go
-
WooCommerce will auto-generate all combinations (e.g., Small, Medium, Large)
For each variation:
-
Set Price (required)
-
Optionally set:
-
SKU
-
Stock status
-
Image for that variation
-
đź“· [Image Idea: List of generated variations with price and stock fields]
âś… Step 7: Add Short Description
Scroll down and enter a Short Description (shows near the price on product page).
âś… Step 8: Set Product Categories
On the right panel:
-
Choose or create a category for the product.
âś… Step 9: Publish
Click Publish to make the product live.
âś… Step 10: View Product
-
Click View Product to see how the product and its variations appear to customers.
đź“· [Image Idea: Live product page showing dropdown to select variation]
📌 Final Output Example (What the customer sees)
-
Product with dropdowns like:
-
Size: Small | Medium | Large
-
-
Price changes as variation is selected.
-
Variation image updates.