1. Documentation /
  2. Shared Attribute Stock

Shared Attribute Stock


↑ Back to top
  1. Download the .zip file from your WooCommerce account.
  2. Go toWordPress Admin > Plugins > Add New and Upload Plugin. Choose File for the file you have downloaded.
  3. Install Now and Activate.
More information at Install and Activate Plugins/Extensions.

Initial Setup

↑ Back to top


↑ Back to top

Adding Stock from Attribute Level

↑ Back to top
To manage the stock of product attributes, navigate to Products > Attribute and select the attribute term you wish to manage. You can add stock for each attribute term, such as for custom mugs with options of white, black, and blue. This will be implemented on the entire catalog, including variable products that use these attributes in variations. The extension will automatically reduce the stock from the attribute level when a variation product with the corresponding attribute is sold. If you want to apply attribute stock to specific products only, you can use Attribute Stock Rules. For example, if you have 2 attributes of mugs and gift boxes, you can add stock quantity for both of these attributes. When a customer purchases a variable product with both mug and gift box attributes, the stock will be reduced from the relevant attributes.

Adding Attribute Stock using Rules

↑ Back to top
For a more varied approach to managing your attribute stock, you can utilize Attribute Stock Rules found under Products > Attribute Stock > Rules. Here are just a few examples of the many uses of attribute rules.
  1. You can apply attribute stock to specific products, categories, and tags. This way, attributes can be applied to individual products instead of being shared across multiple variable products.
  2. Reduce stock in multiple items.
  3. Create multiple groups of attributes and add a shared attribute for the stock.
To add various types of stock based on different attributes, you have the option to create multiple rules. These rules can then be applied to various products, categories, and tags. When creating a new rule, you have the option to configure various settings related to inventory. Inventory Settings Basic inventory settings include:
  • Adding a stock SKU
  • Setting the stock quantity
  • Adding internal notes
  • Entering a low stock threshold (if left empty, the default WooCommerce value will be used)
  • Matching all groups if you have multiple attribute groups and want to reduce the quantity for each group separately
Assign Inventory Attributes
In this section, you have the option to create multiple groups to assign stock to various attributes. Each group can contain multiple attributes, allowing you to assign stock to combinations of 2, 3, or more attributes.
Let’s create a group for selling custom-printed hoodies. As the hoodies and other clothing items are sold based on a combination of two attributes – Size and Color – you can add both attributes to the group and select Large for Size and Blue for Color. Since this combination represents a single item, you can set the Quantity Multiple to 0.5 to reduce the stock by 1 when sold.
Apply to specific products To apply stock management to certain products, you can select specific products, categories, and product tags. If you leave this section empty, the rule will apply to all products. Keep in mind that the selected attributes must be present in the product’s variations for the rule to work.

CSV Import Export of Stock Rules

↑ Back to top
To avoid creating a new rule for stock attributes, you have the option to import pre-defined CSV files in bulk. This extension provides you with the added flexibility to export and import CSV files with updated stock information. To ensure compatibility, the downloaded CSV file should follow the pre-defined format available in the extension’s import section.

Shared Variations Inventory

↑ Back to top
In case you have different versions of a product and want to assign a shared inventory for a specific set of versions, this feature can assist you with that. Simply navigate to the product editing page and select the “Shared Variations Stock” option. From there, you can group together various versions and assign a shared inventory to them. Whenever any of these versions are sold, the stock will be deducted from the shared inventory.

Stock Reports

↑ Back to top
To access the attributes stock report, navigate to Products > Attribute Stock > Attribute Report. This extension offers three reports to keep customers informed about the attribute stock status. To modify attribute details, simply click on the edit icon. If you need to add stock quantity, just hit the update icon.. Once an item’s attribute falls below the “Low Stock Threshold,” the system will automatically generate an email notification for the administrator. You may personalize this email notification by accessing the WooCommerce > Settings > Emails > Addify Shared Attribute Low Stock Email tab.

Customize Error Messages

↑ Back to top
Customers can be informed about the status of stock by customizing the error messages displayed.