DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowHalloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix Now×
Skip to content
World desk12 min

How to Create Product Variations in WooCommerce

A complete WooCommerce variation guide covering attributes, generated or manual combinations, per-variation pricing and inventory, bulk editing, REST API automation, and maintenance.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use a WooCommerce Variable product when one listing needs selectable combinations such as size, color, material, or capacity. Create the attributes first, generate every valid combination—or add only the combinations you sell—then set each variation’s price, SKU, inventory, fulfillment data, and image before publishing. The same combinations can be created and maintained through the WooCommerce REST API or bulk-editing tools when the catalog is too large for manual editing.

What a WooCommerce variation is

A variation is a purchasable configuration of one parent product. A shirt with Size Small and Color Blue is one variation; Size Medium and Color Blue is another. The parent product supplies the shared title, description, and general presentation, while each variation can have its own commercial and fulfillment values.

As an Amazon Associate I earn from qualifying purchases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

WooCommerce’s variable-product type is designed for products with selectable options and lets you control price, stock, image, and other details for each combination. A simple product is enough when every unit has the same options, price, and inventory. Choose a variable product when at least one option changes what the customer can buy or what you must track.

Examples that fit variations

  • A hoodie offered in four sizes and three colors.
  • A laptop sold with different memory and storage combinations.
  • A framed print with several dimensions and frame finishes.
  • A replacement part available in model-specific configurations.

Do not use variations merely to display unrelated products in one listing. Every variation should represent a legitimate combination that can be priced, fulfilled, and described as part of the same product.

#1 Best Overall
Sale
TOZO A1 Wireless Earbuds Bluetooth 5.3 Light Weight in Ear Headphones | IPX5 Waterproof,2 Mics for AI Calls,Immersive Premium Sound Bass Headset with Charging Case,32 EQ via App Black
  • [Ultra-Lightweight Ear Buds Designed for Small Ears] Each earbud weighs only 3.7g and features a compact, ergonomic in-ear design made especially for small ears. Secure, low-profile, and comfortable for workouts, all-day wear or overnight sleeping.The ultra-slim profile sits flush in your ear with no hard edges poking or rubbing, so you can even sleep on your side without discomfort.
  • [Immersive Stereo Sound with TOZO OrigX Technology] TOZO OrigX tuning delivers clear vocals, balanced mids, and natural stereo sound for music, podcasts, and videos.
  • [Long Battery Life for Daily Use] Get up to 7 hours of playtime on a single charge, with up to 32 hours total using the charging case—ideal for workdays, commuting, and extended listening sessions.
  • [Bluetooth 5.3 & Stable Connection] Bluetooth 5.3 provides fast pairing, stable wireless performance, and reduced dropouts as you move around home or office.
  • [Deep Bass with Clear Vocals] High-performance drivers produce punchy bass while keeping vocals clean and detailed for everyday listening.

Plan the product before opening the editor

Variation setup is easiest when the catalog data is decided in advance. Write down the attributes, allowed values, sellable combinations, and per-combination commercial data. This prevents a generated matrix full of options that you do not actually stock.

Choose attributes and terms

An attribute is the dimension customers choose, such as Size or Color. Its terms are the values, such as Small, Medium, Large, Red, and Blue. Use a global attribute when the same dimension will be reused across products; use a product-specific attribute when the values only make sense for one listing. Keep spelling and capitalization consistent, because WooCommerce treats differently written terms as different values.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Mark valid combinations

Multiplying the number of terms gives the maximum number of combinations. Three sizes and four colors can produce twelve combinations, but you may sell only eight. List the sellable combinations before using automatic generation. Manual creation is safer when some size-and-color pairs do not exist, have different lead times, or require a different image.

Prepare operational identifiers

Decide whether every variation needs a unique SKU. WooCommerce documentation describes the SKU as a unique identifier used to search for and track a product or variation. A distinct SKU is especially useful when warehouse, accounting, marketplace, or fulfillment systems need to distinguish combinations. Also gather variation images, weights, dimensions, shipping classes, regular prices, sale prices, and stock quantities before data entry.

Create a variable product in the WooCommerce dashboard

  1. Open the product editor. In the WordPress dashboard, go to Products > Add New Product for a new listing, or open an existing product under Products.
  2. Enter the shared product information. Add the product name and the parent-level description, category, and other details that apply to every configuration.
  3. Choose the product type. In the Product data panel, open the type selector and choose Variable Product. The Attributes and Variations panels will then be available.

Save the draft if you are working on a substantial catalog. Saving early reduces the risk of losing attribute terms or a long variation list if the editor session expires.

Add attributes and their values

Use an existing global attribute

  1. Open the product’s Attributes panel.
  2. Select the global attribute, such as Size or Color.
  3. Select the terms that are valid for this product.
  4. Enable the option that makes the attribute available for variations.
  5. Save the attributes.

Global attributes are useful when you want consistent filtering and reporting across the store. A shared Color attribute, for example, keeps “Navy” from being entered as several slightly different product-specific values.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Sale
Smart Watch for Men Women Compatible with iPhone Samsung Android Phone 1.69 inch Full Touch Screen IP68 Waterproof Bluetooh Fitness Tracker Heart Rate/Sleep Monitor (Black)
  • 【IP68 Waterproof Multifunctinal Smart Watch】Torjalph fitness activity tracker smart watch is IP68 waterproof technology ,you can wear it when swimming,handwashing,it's rain-proof which means that you perform multiple exercise modes outside without worrying about sweat or rain corroding your fitness smart watch,and this watch equipped with a 230 mAh large capacity battery magnetic charging ,and this sports activity tracker watch can be used 5-7 days If fully charged.
  • 【Larger 1.83'' Full Screen Watch & Multi-dial Selection】1.83 inch full HD color touch screen smart watch for men / women provides excellent 240*284 resolution image quality ,This Bluetooth smart watch offers a better touch experience and remarkable immersion and ,more than 200 watch faces for you to choose from App"Da Fit ", you can change the dial style according to your mood to wear keeping the world on your wrist
  • 【Accurate Activity Tracker Smart Watch 】sports watch activity tracker uses sweat and dust resistant breathable silicone strap, our Fitness Tracker Smart Watch for Android iOS Phones supports 12 sports modes,walking,running,bicycle,swimming,badminton,basketball,football,rope skipping. This bluetooth calls smart watch for men women is lightweight and stylish, bringing more convenient and relaxing sports experience while also providing more protection.
  • 【Your 24 Hour Personal Daily Health Monitor】Fitness watch for women men full touch screen IP67 waterproof bluetooth smartwatch for Android iOS Phones with heart rate blood pressure monitor multifunction Andriod smart watch with steps counter sleep monitor sports fitness watch, monitoring blood oxygen saturation allows you to understand your physical condition in real time to track fitness progress ,to know your health status in time.
  • 【More Functions Bluetooth Call Smart Watch】This fitness activity smart watch full screen for iPhone and Android phones includes a bunch of new features including:The bluetooth smart watch can hang up the phone, receive and display WhatsAPP /Text /Facebook /Twitter /Messenger reminder.Support sedentary reminder, alarm clock, stopwatch, timer,weather information,music control, remote camera control compatible with Android 5.0 and above or iOS 9.0 and above smartphones.

Create a product-specific attribute

  1. In Attributes, choose the option to add a custom or product-specific attribute.
  2. Enter the attribute name, such as Connector type or Pack size.
  3. Enter its values using the separator shown by your editor, then select the option to use the attribute for variations.
  4. Save the attributes.

Product-specific attributes are appropriate when the terms are unique to one listing and should not become store-wide taxonomy. They still must be saved before WooCommerce can use them to build variations.

Check the attribute list before continuing

  • Every value a customer should be able to select is present.
  • Values are spelled and capitalized consistently.
  • Only attributes that genuinely define a sellable configuration are marked for variations.
  • Values that are not offered have been removed rather than left for a customer to discover later.

Generate every combination or add selected variations

Open the Variations panel after saving attributes. WooCommerce offers two fundamentally different creation methods.

Generate variations for a complete matrix

Choose Generate variations when every combination of the selected attribute terms is a real offer. WooCommerce creates one variation for each combination. For a product with two attributes, the result is the Cartesian product: every selected value in the first attribute paired with every selected value in the second.

Generation is quick, but it can create combinations you cannot sell. Review the list immediately and remove invalid entries before assigning prices or publishing. A large matrix also increases editing and testing work, so do not generate unused combinations merely because the editor permits it.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Add variations manually for a partial matrix

Choose Add manually when only selected combinations exist. Add one variation, choose its value for each attribute, and repeat for the combinations you actually stock. This approach takes longer initially but avoids disabled, misleading, or accidentally purchasable pairs.

Manual creation is also useful when combinations have very different lead times, images, or pricing rules and need careful review as they are entered.

Rank #3
New Bee Guitar Cable 10ft Electric Instrument Bass AMP Cord
  • [Low Noise High Fidelity] New bee guitar cord with 22AWG oxygen-free-copper center conductors provides enhanced signal transfer, the PVC insulation material and the high-density stranded copper double shield provide noise rejection for quiet operation
  • [Ideal for Choice] New bee 1/4 straight and right angle metal connectors, ensures a secure connection in any instrument, pedal, or amp jack. L shape great fro on stage guitar stands
  • [Wide Compatible] Suitable for mixer, power amplifier, microphone, effector, decoder, equalizer, electoronic organ, electric guitar, electric bass and other electronic equipments. Widely used in the installation of smart home, karaoke speaker, professional stage audio, etc
  • [Easy Disassemble] Making incidental repairs quick and easy! Very nice, flexible cable
  • [Dont Hesite to Order] 24 hours customer services and professional technology team are standing by

Configure each variation

Expand a variation row to expose its fields. The exact controls can vary slightly by WooCommerce version and installed extensions, but the core data model includes the following properties.

Property What to enter Why it matters
Attributes The selected value for every attribute, such as Size=Medium and Color=Blue. Defines the combination customers are buying and lets WooCommerce match selections to a variation.
Regular price The normal selling price for this combination. A variation generally needs a price before it can be purchased.
Sale price An optional discounted price. Allows a promotion on one combination without changing the parent or other variations.
SKU A unique internal identifier when your operations require one. Supports search, stock tracking, fulfillment, and integrations.
Stock management Whether WooCommerce manages inventory for this variation. Determines whether quantity and stock status are controlled at variation level.
Stock quantity The available units when variation-level management is enabled. Prevents orders beyond the quantity assigned to that combination.
Stock status and backorders In stock, out of stock, or an allowed backorder policy. Controls whether customers can buy a combination and what happens after quantity reaches zero.
Weight and dimensions The physical measurements for this configuration. Supports accurate shipping calculations when variants differ physically.
Shipping class The appropriate class for the variation. Applies a different shipping rule when a combination needs one.
Image The image that should appear when this variation is selected. Shows customers the relevant color, finish, or configuration.
Description Optional variation-specific text. Explains a difference that cannot be represented by the attribute names alone.

Enter at least the information required by your store’s checkout and fulfillment process. If a variation has a distinct physical item, unique SKU, or separate stock count, do not rely on the parent value to represent it.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Set inventory correctly

Use variation-level stock for independent quantities

Enable stock management on each variation when Small Blue and Large Blue are separate inventory pools. Enter the quantity for each combination and choose the appropriate out-of-stock and backorder behavior. Customers can then buy one combination without consuming stock assigned to another.

Use shared or parent-level stock when units are interchangeable

If all combinations draw from one common pool, configure stock through the parent arrangement described in WooCommerce’s variable-product guidance instead of pretending each variation has an independent quantity. This is appropriate only when selling one combination genuinely reduces the same shared inventory available to every other combination.

Decide this before publishing. Switching inventory logic after orders exist can produce misleading availability unless quantities are reconciled with the actual warehouse count.

Apply repeated values with bulk actions

Variation panels provide bulk actions for values that are identical across many rows. Use them for a common price, stock status, shipping class, or another repeated setting, then open individual rows for exceptions. Bulk editing reduces repetitive entry but can overwrite deliberate differences, so inspect the rows after applying an action.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #4
BSIMB 15.6" Digital Family Calendar & Chore Chart, No Subscription Fees
  • Digital Family Calendar: BSIMB digital calendar wall touch screen puts an end to your chaotic life. Designed for busy families, the digital calendar keeps you organised and in step with your family. Assign different colours and tasks to each family member to make family scheduling easier and more intuitive.
  • Easy Setup and Auto-Sync: Plug in, connect to WLAN and auto-syn your electric calendar in minutes. Digital wall calendar compatible with Google calendar, iCloud calendar, Outlook calendar, Cozi calendar and Yahoo calendar. Add events directly on the device or through the ecalendar app. Electronic calendar stays current whether you're at work or traveling—no manual updates needed.
  • All-In-One Home Assistant: Smart calendar builds habits and encourage independence with personalised chores. Display daily meal plan to reduce the daily ‘What's for dinner?’ stress. To-do lists keep track of everything you want. Turning chores into valuable achievements with stars and rewards, making life easier and more enjoyable.
  • Manage Anytime Anywhere: BSIMB electronic calendar for family stay connected with the powerful ecalendar app. Access and manage your digital wall calendar anytime, anywhere with free features like stars & rewards, photo screensaver, chore charts, meals plans, to-do lists etc. Electronic planner paid features like Magic Import tailor advanced tools for users with special needs.
  • Stay in Touch with Loved Ones: Share photos or videos from your phone to electronic wall calendar with app, instantly update your life moment, and keep in touch with your family, especially those who are far away; you can also surprise your smart calendar digital wall by sending him a wish card; it's also great for keeping tech-illiterate elders in touch with the youngsters.
  1. Filter or select the relevant variation rows.
  2. Choose the bulk action that matches the field you want to change.
  3. Enter or select the shared value and apply it.
  4. Review every affected row, especially prices, quantities, and backorder settings.
  5. Save the variation changes.

Save, preview, and publish

  1. Save the attributes and variation edits in the product editor.
  2. Confirm that every intended combination is enabled and that no unwanted generated combination remains.
  3. Preview the product page as a customer.
  4. Select each attribute combination in the front-end controls.
  5. Check that the correct price, image, availability message, and shipping behavior appear for each test selection.
  6. Publish the product, or update it if it was already live.

Test unavailable combinations as well as available ones. A disabled or out-of-stock choice should communicate its state rather than silently selecting a different variation.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Automate variations with the WooCommerce REST API

The WooCommerce REST API supports creating, viewing, updating, deleting, and batch-managing individual variations. It exposes variation properties such as regular and sale prices, SKU, stock-management mode, stock quantity, in-stock state, backorders, weight, dimensions, shipping class, image, and attributes.

Use the API when the data is already structured

API automation is a good fit when a merchandising, ERP, or inventory system already holds attribute values and per-variation data, or when the same product pattern must be repeated. It also makes recurring price and inventory updates repeatable instead of dependent on manual clicks.

Recommended API sequence

  1. Create or identify the parent variable product.
  2. Define its global or non-global attributes and the terms that can be used for variations.
  3. Create each variation with its attribute combination and required commercial fields.
  4. Set inventory, backorders, dimensions, shipping class, image, and description where they differ.
  5. Read the created records back and verify their IDs, attributes, prices, and stock states.
  6. Use update or batch operations for later changes, and delete only combinations that should no longer exist.

A variation payload should represent one complete combination. In a JSON request, the attributes array identifies the selected terms, while fields such as regular_price, sale_price, sku, manage_stock, stock_quantity, in_stock, backorders, weight, dimensions, shipping_class, and image carry the values that differ from other combinations.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
{"attributes":[{"name":"Size","option":"Medium"},{"name":"Color","option":"Blue"}],"regular_price":"29.00","sku":"HOOD-M-BLU","manage_stock":true,"stock_quantity":12,"in_stock":true}

The example is a data shape, not a universal price or SKU rule. Use your store’s currency, identifiers, authentication, and validation requirements. Never let an import create duplicate SKUs or combinations that the storefront cannot fulfill.

API safeguards

  • Validate that every attribute option belongs to the parent product’s allowed terms.
  • Detect an existing combination before creating another record.
  • Keep prices as values appropriate to the store’s currency and accounting system.
  • Record API responses and errors so a failed batch can be corrected without guessing which rows succeeded.
  • Run a small test batch and inspect the storefront before importing a full catalog.

Bulk-edit a large catalog

WooCommerce documents a Bulk Product Editor whose use cases include converting simple products into variable products and editing attributes and variations in bulk. Bulk tooling is most useful when many products share a repeatable structure, such as a standard Size attribute, or when prices and stock must be changed across an established catalog.

Approach Best for Main risk
Dashboard editor One product, a small number of combinations, or hands-on merchandising. Slow and error-prone when many rows require repeated entry.
REST API or compatible CLI automation Structured imports, integrations, recurring updates, and large repeatable catalogs. Bad validation can create duplicate, incomplete, or incorrectly priced variations at scale.
Bulk Product Editor Converting and editing many existing products without building a custom integration. A broad edit can overwrite intentional per-variation differences if filters are too wide.

Choose the least complex method that meets the catalog’s needs. The deciding factors are catalog size, whether every attribute combination is valid, how complicated per-variation inventory is, how many unique images and SKUs are required, how often values change, and how much review time is available.

Maintain variations after launch

Changing attributes can invalidate existing combinations

WooCommerce warns that changing attributes after variations have been created may require redefining the variations so the combinations work correctly. Treat an attribute edit as a data change, not a cosmetic label change. After adding, removing, or renaming terms, inspect the variation list and recreate combinations that no longer match the new attribute set.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Products with more than 30 variations

WooCommerce documentation notes changed dynamic-dropdown behavior for products with more than 30 variations. Test the selection controls on the published page when a product crosses that size, and verify that customers can still choose every intended combination.

Routine maintenance checklist

  • Compare variation quantities with the physical or integrated inventory source.
  • Check that each active combination has the correct price and tax treatment for your store.
  • Confirm that images still represent the selected color, finish, or configuration.
  • Retire combinations you no longer sell instead of leaving them purchasable.
  • Review SKUs for duplicates before an import or synchronization.
  • Test a representative available, unavailable, and backordered combination after major edits.

Troubleshoot common variation problems

The variation selector does not show an option

Open Attributes and verify that the term is attached to the product, marked for use in variations, and saved. Then check that at least one variation uses that exact term. A term that exists globally but is not assigned to the product will not be available for its combinations.

A combination appears but cannot be purchased

Expand the variation and check that it is enabled, has a price, and is in stock or intentionally configured for backorders. Confirm that the selected attribute values exactly match the variation. A generated row that was never completed can remain visible but unavailable.

Two variations seem to represent the same combination

Compare every attribute value, including capitalization and whitespace, and inspect imported records for duplicates. Remove the extra row or correct its attributes before accepting orders. Give each operationally distinct item its own SKU.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

All variations share the wrong quantity

Review the stock-management setting. If combinations should have independent inventory, enable variation-level management and enter each quantity. If they intentionally share one pool, remove conflicting per-variation quantities and manage the common stock according to the parent configuration.

The image or price does not change after selection

Open the affected variation and verify its image and price fields, then save the product. Test the selection in a fresh storefront session. If only one combination fails, compare its attributes with the row WooCommerce is expected to match; a mismatch can prevent the intended variation from being selected.

An attribute edit broke existing variations

Recheck the attribute terms and redefine the affected combinations. Do not assume that changing a term automatically migrates every old variation to the new value. Confirm the rebuilt list before restoring the product to sale.

Final pre-publication checklist

  • The product type is Variable Product.
  • Global or product-specific attributes and terms are saved.
  • Every sellable combination exists exactly once.
  • Invalid combinations are removed or disabled.
  • Each variation has the required price and an intentional stock policy.
  • SKUs are unique where the operating process requires them.
  • Weights, dimensions, shipping classes, images, and descriptions are correct for differing configurations.
  • Bulk edits have been reviewed for unintended overwrites.
  • The front-end selector has been tested for available, unavailable, and backordered cases.
  • API or bulk imports have been reconciled against the resulting product page and inventory records.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.