Stock Dependencies for WooCommerce

Description

With Stock Dependencies for WooCommerce, you can make the products and variations in your WooCommerce store dependent on the inventory of your other products or variations. Customers will be able to select and purchase the product without seeing the products on which it depends in their cart, during their checkout, or on their receipt. Inventory management in Woo Commerce is greatly simplified since you only have to manage inventory levels for the item(s) on which your product or variation is dependent.

Stock Dependencies for WooCommerce works for Simple and Variable product types in WooCommerce and you can make a product or variation dependent on a combination of other products and variations. Stock Dependencies for WooCommerce lets you create dependencies on quantities of one or more of the other products.

Stock Dependencies for WooCommerce is ideal for:

  • Selling products in multiple quantities. For an product you already have in your inventory, you can use Stock Dependencies for WooCommerce to sell, for example, a package of six items and and package of 12 items. With Stock Dependencies for WooCommerce you do not need to maintain inventory levels for each quantity of the product as the product inventory is managed for only the single quantity item.
  • Selling bundled products. You can create a bundle of multiple items and sell them as a single item. With Stock Dependencies for WooCommerce your customers will only see the bundle product in their cart, during the checkout process, and on their order receipt.

When a product with stock dependencies is displayed in your store, Stock Dependencies for WooCommerce will check the inventory of the products on which it depends and will only show the product as being available if all the dependent stock items are available. When a product with stock dependencies is added to a shopping cart and eventually purchased, the customer will only see the single product in their cart and order, and will not see the products on which it is dependent. When the product is purchased, Stock Dependencies for WooCommerce will reduce the inventory of the items on which it is dependent by the appropriate amount.

Configuring

Stock Dependencies for WooCommerce is easy to configure for any simple or variable product in your WooCommerce store. A single checkbox is added to each simple product or variation in your WordPress admin that allows you to enable stock dependencies for that product or variation. Once checked, two fields are added for the SKU and the quantity of the dependency. Additional dependencies can be easily added.

Shopping

When a customer views a product with dependencies in your WooCommerce store, they will see the product as you have configured it, but the available quantity and in-stock status will be determined by Stock Dependencies for WooCommerce from the available quantities of each of the products and variations on which it is dependent.

Cart, Checkout, and Receipt

Customers will only see the product they selected, and not the products upon which it is dependent, in their shopping cart, during the checkout process, and on their receipt.

Restocking

When you issue a refund for a product that has a stock dependency, the plugin will restock the dependency products.

Privacy

The Stock Dependencies for WooCommerce plugin does not affect the way personal information is collected or stored within your WooCommerce store or your WordPress installation.

Open Source

The Stock Dependencies for WooCommerce plugin is open source software. Feel free to contribute or fork this code on GitHub.

Screenshots

  • When editing a simple or variable product, easily add Stock Dependencies.
  • The quantity of items available is calculated by the plugin based on the dependencies' quantities.
  • The inventory of each product dependency is automatically reduced by the appropriate number based on the order quantity and the dependency quantity.

Installation

Install the WooCommerce Stock Dependencies plugin

  1. Download and install the plugin from the release page or install directly from the WordPress plugin directory.
  2. Activate the plugin.
  3. In your WordPress admin, navigate to the Products listing page and select a product to configure.
  4. Enable stock dependencies.
  5. For simple products, edit the product and navigate to the Inventory tab and check the “Add stock dependency” checkbox. Add the SKU and the quantity for each product or variation on which this product is dependent.
  6. For variable products, edit the product and navigate to the Variations tab and check the “Add stock dependency” checkbox for each variation. Add the SKU and the quantity for each product or variation on which this product variation is dependent.

FAQ

Why would I use Stock Dependencies for WooCommerce?

Stock Dependencies for WooCommerce is ideal for selling groups of one or more products without having to maintain inventory numbers for each grouping and without having each product in the grouping appear as a separate line item in the order and on the receipt.

How is Stock Dependencies for WooCommerce different from other product grouping plugins?

Other product grouping plugins allow you to create different combinations of products within your store but still treat each as a separate product in the customer’s shopping cart, during the checkout process, and on the customer’s order receipt.

How are dependencies defined?

Each dependency that a product or variation has on another product or variation is defined using the (unique) SKU of the product and the quantity of that product that is required.

Can stock dependencies be created with Product IDs or other identifiers?

No. Stock dependencies can only be created with a unique SKU of the product or variation on which the dependency exists.

Reviews

September 9, 2020
Simple plugin that does one thing, does it well and for free. It doesn't fill your WordPress with useless "features" nor does it charge you for something so essential as shared stock for product variations. I had a little trouble setting it up, but once I read the instructions carefully, I got it working and it's perfect.
June 26, 2020
This plugin is really nice and fine to use. It set multiple items from your store to a bundle and automatically work when sell the item. Really usefull for bundle items.
Read all 2 reviews

Contributors & Developers

“Stock Dependencies for WooCommerce” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.2.1

  • Verified with WooCommerce 4.4

1.2

  • Stock dependencies are restocked during a refund

1.1.2

  • Tested with WordPress 5.5 and WooCommerce 4.3

1.1.1

  • Fixes an issue where orders created in WooCommerce admin have their stock depedencies reduced twice

1.1

  • Adds support for stock dependencies in orders created from within WooCommerce admin
  • Fixes an issue where product inventory status was not displayed correctly in WooCommerce admin

1.0

  • Initial release of Stock Dependencies for WooCommerce