WPC Product Bundles

⌘K
  1. Home
  2. Docs
  3. WPC Product Bundles
  4. Stock & Inventory
  5. Stock management (1): product level

Stock management (1): product level

1/ Stock management at the product level

In order to manage the stocks of the bundle, you can set it up on different levels:

  • Product level
  • Bundle level
  • Variation level

1/ Stock management at the product level:

When any of the bundled products have the stock management enabled, the stock management for the bundle will be automatically enabled (even though the box next to “Enable stock management at product level” option in the Inventory tab is unchecked).

If one of the bundled products becomes Out of stock, then the whole bundle will be Out of stock as well in this case. No matter how hard you try to change the stock quantity by filling with a number or change the stock status to In Stock, that bundle will change back to Out of Stock after pressing the Update button.

Now, we will take this example to discuss how to set up stock management:

We have 5 products with different stocks configured as below:

  • Product A: use Stock status with In Stock displayed.
  • Product B: use Stock management, stock quantity: 8
  • Product C: use Stock status with Out of Stock displayed.
  • Product D: use Stock management, stock quantity: 5
  • Product E: use Stock status with In Stock displayed.

We add some of them to a bundle, both Stock management at product level and at bundle level options are disabled.

Case 1: With 4 products A, B, C, D included, this bundle will always be Out of Stock as the bundled product C is Out of Stock.

Case 2: With only product A & product C included, the whole bundle will always be Out of Stock.

Case 3: With only product A & product E included then the bundle will be In Stock (but no stock quantity displayed since it’s been configured yet).

Case 4: With only product A & product B included, in the front-end, the stock will be “8 in stock” for the whole bundle based on the stock configured for product B. Similarly, if only product A & product D or product D & product E included, the stock will be “5 in stock”.

Case 5: With only product B & product D included, the stock will be “5 in stock” based on the lowest stock among bundled items.

We can see that any combination that excludes out-of-stock product C is either “In Stock” or “5 In Stock”. So the stock management is prioritized over stock status and the lowest stock among bundled products will be used as the stock quantity for the whole bundle.

Even though you don’t check the “Enable stock management at product level” option, when you add any product, which has stock management configured, to your bundle and press Update, check back on the Inventory tab after saving the changes, you’ll see this option is turned on and the stock quantity is filled with “5”.

Therefore, you can rest assured that when a bundle is purchased successfully from your store, the stock will be automatically reduced from bundled products if they have stock management enabled with a positive stock quantity.