WooCommerce Product Types: Variable & Grouped Setup

Correct WooCommerce product types configuration ensures accurate accounting and shipping. Our experience includes over 30 projects for catalogs of varying sizes. The setup cost for a catalog of 100 items starts at $500, and annual support savings can reach up to $2,000 (40% of the annual budget).

Development and maintenance of all types of websites:

Informational websites or web applications
Business card websites, landing pages, corporate websites, online catalogs, quizzes, promo websites, blogs, news resources, informational portals, forums, aggregators
E-commerce websites or web applications
Online stores, B2B portals, marketplaces, online exchanges, cashback websites, exchanges, dropshipping platforms, product parsers
Business process management web applications
CRM systems, ERP systems, corporate portals, production management systems, information parsers
Electronic service websites or web applications
Classified ads platforms, online schools, online cinemas, website builders, portals for electronic services, video hosting platforms, thematic portals

These are just some of the technical types of websites we work with, and each of them can have its own specific features and functionality, as well as be customized to meet the specific needs and goals of the client.

Our competencies:

Frequently Asked Questions

Latest works

  • image_web-applications_feedme_466_0.webp
    Development of a web application for FEEDME
    1281
  • image_ecommerce_furnoro_435_0.webp
    Development of an online store for the company FURNORO
    1237
  • image_crm_enviok_479_0.webp
    Development of a web application for Enviok
    977
  • image_crm_chasseurs_493_0.webp
    CRM development for Chasseurs
    1026
  • image_website-sbh_0.webp
    Website development for SBH Partners
    1103
  • image_website-_0.webp
    Website development for Red Pear
    550

Correct WooCommerce product types configuration ensures accurate accounting and shipping. Our experience includes over 30 projects for catalogs of varying sizes. The setup cost for a catalog of 100 items starts at $500, and annual support savings can reach up to $2,000 (40% of the annual budget).

Choosing the Right Product Type for Your Catalog

The main issues we solve: incorrect variation attribute (size as text instead of taxonomy — occurs in 70% of projects), N+1 queries when loading variations on the product page (increases load time by 2–3 seconds), plugin conflicts for composite products (occurs in 1 out of 5 cases). Proper product type selection saves up to 40% of catalog maintenance time.

Product Type When to Use Own Price for Variants Stock Management
Simple One SKU, one price (books, services) No Single stock
Variable Multiple options (size, color) Yes, per variation Per variant
Grouped Set of simple products (bundle) No (depends on children) Each product individually
Virtual/Downloadable Digital products (courses, files) No Not managed

Common errors in product type selection include using attributes as text fields, which prevents variation grouping and causes report errors; creating separate products for each variant, resulting in 1,500 SKUs instead of 500; and using a simple product for a bundle, which prevents managing bundle price. The correct solutions are: use WooCommerce taxonomies for attributes, group variants into a variable product, and use Grouped or Bundles plugin for bundles.

Setting Up a Simple Product in WooCommerce

One SKU, one price, one variant. Suitable for: books, services, digital downloads, physical products without variations. Setup in admin: Products → Add New → type "Simple product". Required fields: price, SKU. For digital products — check "Virtual" and "Downloadable", attach a file. No guaranteed compatibility with shipping plugins if weight and dimensions are not configured.

Creating a Variable Product in WooCommerce

Multiple variants with different attributes (size, color, material). Each variant has its own price, SKU, stock. This is the best choice for clothing: 4 times more convenient than creating separate products.

Step-by-Step Setup for a Variable Product

Step 1: Create attributes. WooCommerce → Attributes → create "Size" with values "S, M, L, XL". In 90% of cases, 2–3 attributes are enough.

Step 2: In the product, go to the "Attributes" tab → add attribute → check "Used for variations".

Step 3: Go to the "Variations" tab → "Create variations from all attributes" → set price and SKU for each. For 100 variations, this takes 10 minutes manually.

Programmatic Creation of Variations

Code example
// Create a variable product programmatically $product = new WC_Product_Variable(); $product->set_name('T-shirt'); $product->set_status('publish'); // Add attributes $attributes = []; $attribute = new WC_Product_Attribute(); $attribute->set_id(wc_attribute_taxonomy_id_by_name('pa_size')); $attribute->set_name('pa_size'); $attribute->set_options(['S', 'M', 'L', 'XL']); $attribute->set_visible(true); $attribute->set_variation(true); $attributes[] = $attribute; $product->set_attributes($attributes); $product_id = $product->save(); // Create variations $sizes = ['S' => 1200, 'M' => 1200, 'L' => 1300, 'XL' => 1400]; foreach ($sizes as $size => $price) { $variation = new WC_Product_Variation(); $variation->set_parent_id($product_id); $variation->set_attributes(['pa_size' => $size]); $variation->set_regular_price($price); $variation->set_sku('TSHIRT-' . $size); $variation->set_stock_quantity(100); $variation->set_manage_stock(true); $variation->save(); } 

Advantages of Variable Products Over Many Simple Products

Time savings: manually creating 1,000 variations takes 2 days, automation takes 1 hour. Error reduction: centralized stock management, prices and SKUs are synchronized. Average order value increases by 30% due to cross-selling.

Grouped Products: When and How to Use Them

A set of simple products combined on one page. The buyer chooses the quantity of each. Typical example: bed linen set (fitted sheet + pillowcases + duvet cover — sold both separately and as a set). Creation: type "Grouped" → tab "Linked Products" → field "Grouped products" → select child products. A grouped product is better than a simple one when you need to sell a bundle but still allow individual purchases — this increases the average order value by 30%.

Setting Up a Bundle Product

Out of the box, WooCommerce does not support bundle assembly with price calculation. You need a plugin like WooCommerce Product Bundles or YITH WooCommerce Product Add-Ons. We recommend the former — it is more stable and has built-in discounts. A paid plugin is required; we can help with its setup.

Programmatic Query of Variations

$product = wc_get_product(123); // ID of variable product if ($product->is_type('variable')) { $variations = $product->get_available_variations(); foreach ($variations as $variation) { $variation_obj = wc_get_product($variation['variation_id']); echo $variation_obj->get_sku() . ': '; echo $variation_obj->get_price() . ' RUB, '; echo 'stock: ' . $variation_obj->get_stock_quantity() . "\n"; } } 

How to Automate Variation Creation Programmatically

Use the PHP code above. It creates the product, attributes, and variations. This is useful for mass imports or migrations from other platforms. For a catalog of 5,000 products, the script generates all variations in 3 minutes.

What Is Included in the Work

  • Analysis of the assortment (which product types are needed).
  • Creation of attributes and taxonomies.
  • Configuration of simple, variable, and grouped products (up to 100 items).
  • Import of stock and prices.
  • Testing of cart and checkout.
  • Documentation on structure and access.
  • Training on product management.
  • 1 month warranty on correct operation.
  • Setup of composite products if applicable.

Timeline and Cost

Configuration of product types, attributes, and variations for a catalog of 50–100 items — 1–2 days. Setup cost for a catalog of 100 items: from $500. Support savings can reach $2,000 per year (40% of annual budget). We guarantee that all products will display correctly and taxes will be calculated accurately. Contact us — we'll assess your project in 1 day and offer the optimal solution.

According to official WooCommerce documentation, correct product type configuration is critical for accounting and shipping plugins. Get a consultation on product type selection to avoid accounting errors.

Our WooCommerce setup services include all configurations for product types (simple, variable, grouped, composite). We specialize in programmatic variation creation and variation attributes optimization for your catalog setup.