1. Documentation /
  2. Central Stock for WooCommerce

Central Stock for WooCommerce

All the products in your WooCommerce shop have their own Stock Quantity which refers to the available amount of the specific product. WooCommerce enables you to manage this value and automatically decreases the corresponding quantity after a customer purchased one of your products. If you have set up several shops within one WordPress Multisite environment, each of your shop sites has a separated stock quantity management. Therefore, when a customer buys one of your products from one shop site, the Stock Quantity of the same products of other sites within your multisite will not be updated. Central Stock for WooCommerce by Inpsyde allows your WooCommerce store to automatically synchronize the stock of products with the same SKU across all your shops in a WordPress Multisite Network.


↑ Back to top
Before you install Central Stock for WooCommerce, please make sure you have already setup a Multisite. If you need help, follow this tutorial: How to install and set up a WordPress Multisite. Also make sure WooCommerce is Network Installed, but not Network Activated: the activation should be set on each site belonging to the Multisite Network where you want to set up a store. To install the plugin follow the steps below:

  1. Download the .zip file from your WooCommerce account.
  2. Go to: WordPress Admin > My Sites > Network Admin > Plugins > Add New and Upload Plugin with the file you downloaded with Choose File.
  3. Install Now and then Network Activate the extension. This will make the plugin active for all sites on the Network.
More information at: Install and Activate Plugins/Extensions.


↑ Back to top
  • WordPress Multisite 4.8+
  • PHP 7.0.x or higher

Setup and configuration

↑ Back to top

Setup Shops within the Multisite

↑ Back to top
Central Stock is designed to work in a Multisite shop network. To setup multiple shops within one WordPress Multisite:
  1. Go to: My Sites > Network Admin > Sites and add a new site by clicking Add New.
  2. Fill in the following information:
    • Site Address (URL): This is the URL of your new website.
    • Site Title: This is the site title of your new website. It will be shown in your admin menu in the WordPress backend and possibly as well on your site in the frontend.
    • Site Language: This is the language for the admin menu of your new site.
    • Admin Email: This is the email of the respective site admin. You can choose the one of your main site or create a new user with a new Email address.
  3. Click on Add Site.
  4. Create as many new sites as you need for your Multisite shop environment.
Add New Site Settings

Synchronize Stock Quantity of Products

↑ Back to top
First of all set up some products. For example, create a simple product in several sub-sites belonging to your Multisite Network. If you need help with creating products in your WooCommerce shop, you can find more information here. To connect the same product between your shops in a Multisite Network, you need to set the same Stock Keeping Unit (SKU) value for the corresponding products on each shop site.
Product Inventory SKU Setup
To setup the SKU, for example in a simple product, follow the steps below:
  1. Go to: My Sites and select the Dashboard of one of your shops.
  2. Select Products in your admin menu on the left.
  3. Choose one of your existing products for editing or Add new product.
  4. Go to: Product data > Inventory
  5. Set a SKU for the product and remember the value.
  6. Tick the Checkbox: Enable stock management at product level.
  7. Save changes by clicking Update.
  8. Go to: My Sites and select the Dashboard of another shop which contains the same product.
  9. Like in the previous steps, set the SKU for the corresponding product in this shop. Remember to fill in the same SKU value you set for the product in your other shop before and to Enable stock management at product level
  10. Save changes by clicking Update.
  11. Test the functionality by:
    • changing the related product Stock Quantity in one of your sites. Performing that action the stock quantity of the corresponding product will update accordingly to the changes across all your shop sites.
    • purchasing one of the product items in one of your shops. Performing that action the Stock Quantity of all related products will decrease by the same quantity.
Similarly you can also set up the SKU for other type of products. For example, for a variable product you can define a SKU for every variation, hence synchronize the related Stock Quantity across the Network.


↑ Back to top
Central Stock automatically synchronizes the Stock Quantity of all products with the same SKU across your shops within a WordPress Multisite Network. When you change the Stock Quantity of a product which is connected across your sites via SKU, the quantity within all product pages will change accordingly. When a customer buys your products, the quantity of all connected products will decrease accordingly. So, the correct quantity value will be shown on all related product pages.
Stock Quantity on Frontend Page