Attribute Stock Manager for WooCommerce

Attribute Stock Manager for WooCommerce allows you to track and manage inventory for multiple products that share the same product attribute(s). 

Installation

↑ Back to top
  1. Download the attribute-stock-manager-for-woocommerce.zip file from your WooCommerce account.
  2. Go to: WordPress Admin > Plugins > Add New > Upload Plugin > Choose File to upload the file you downloaded.
  3. Install Now and Activate Plugin.

More information at: Install and Activate Plugins/Extensions.

Configuration

↑ Back to top

To add a new attribute stock,

  1. Go to WooCommerce > Attribute Stock and click on Add New.
  2. Please fill in a title. You can optionally set a SKU in the SKU field, the SKU will be a unique identifier for this Attribute Stock.

General

↑ Back to top
  • In the “Inventory for this Attribute” field, fill in the inventory value for the attribute.

Note:

The inventory will be updated every time a product which is linked to this attribute stock is purchased.

  • In the Notes section you can input hints about how you have configured the attribute stock.
  • You can optionally configure Low Stock Threshold to get notified via email whenever the inventory for this attribute drops below a specified value.
  • Match all groups has to be updated

Attributes

↑ Back to top
  • To assign stock to an attribute click on Add Group. Once clicked, Select an attribute and its corresponding value.
  • If your product has multiple attributes, click on the Add Rule button to add additional attributes.

Note:

In order for the stock to controlled by the Attribute Stock plugin, then the attribute configuration within the group should exactly match with the product.

  • Once selected, in the Quantity Multiplier, input how much quantity has to be reduced from the Attribute Inventory for a single quantity.

For Example:

If the Global Inventory is 1000 Units of 250 GMS packets and you are currently configuring 250 GMS attribute, then in the Quantity Multiplier option, set the value as 1. If you are configuring 500 GMS attribute, then in the Quantity Multiplier option, set the value as 2.

  • You can create any number of groups as per your requirement. Each group will have its own quantity multiplier. Generally, multiple groups will have to be created when you want to share inventory between multiple attribute values of a single attribute.

For Example:

If you have 3 variations/combinations say 250 GMS, 500 GMS and 1000 GMS and you have one global inventory of 1000(250 GMS) packets, then the global inventory can be shared across all the 3 variations. One group has to be created for each variation and in the quantity multiplier, the value should be set as 1, 2 and 4 respectively.

  • You can also merge inventory of similar attributes which is configured in multiple groups. This is useful, when a particular variation/product is out of stock but other variations/products which share the share the same attribute is in stock. When the user purchases the product at that time, the global attribute Inventory will be managed accordingly. To enable this feature, enable the “Match All Groups” option in the General section.

Filters

↑ Back to top

By default, the attribute level stock will work for all products, categories and supported product types. If you want to restrict attribute level stock management to specific products, categories and certain product types, you can do so using filters option.

Usage

↑ Back to top

Stock Sharing across Variations

↑ Back to top
  • Once the attributes stocks have been configured and the variations have been configured, the plugin will be ready for usage.
  • When a variant is purchased, the purchased stock will be updated in the attribute inventory. The change will also reflect across all the variations which share the inventory.
  • When a user tries to purchase multiple variations of the same product which share the same inventory, the user will be prevented from over-purchasing the variations.

Stock Sharing across Products

↑ Back to top
  • Once the attributes stocks have been configured and the products have been configured, the plugin will be ready for usage.
  • When a product is purchased, the purchased stock will be updated in the attribute inventory. The change will also reflect across all the products which share the inventory.
  • When a user tries to purchase multiple products which share the same inventory, the user will be prevented from over-purchasing the variations.

Translation

↑ Back to top

Attribute Stock Manager for WooCommerce is translation ready, meaning you can edit the po files to translate the text to any language. Steps to perform the translation are as follows. For example, a translation to French.

  • Download and install Poedit
  • Open the file attribute-stock-manger-for-woocommerce > languages > attribute-stock-manger-for-woocommerce.pot using Poedit.
  • Create a new translation file by clicking Create new translation button.
  • Choose the Source text and set its corresponding French text in Translation Text Area.
  • Save the changes.
  • Save the file name as attribute-stock-manger-for-woocommerce-fr_FR.po.
  • Then go to WordPress dashboard > Settings > General and select the Site Language as French.