# Advanced Usage

# The management interface

WooCommerce Attribute Stock includes a new user-friendly admin page for advanced management of your attribute stock. It is not intended to replace the native Product Attributes interface, but rather to supplement it with improved management and configurability.

Attribute stock advanced interface

The advanced interface can be accessed by navigating to Products > Attribute Stock.

# Setting advanced options

Advanced options and settings for each attribute stock item can be configured by navigating to Products > Attribute Stock. You can add new items or editing existing ones.

# Inventory tab

Edit attribute stock inventory

The inventory tab displays the most commonly used fields:

  • SKU - Set the Stock Keeping Unit for this attribute stock item. Optional.
  • Stock quantity - The current stock quantity of this attribute stock item.
  • Notes - Internal notes about this attribute stock item.

# Attributes tab

Edit attribute stock attributes

The attributes tab provides a simple yet powerful interface to match attributes or combinations of attributes. Each attribute match is efficiently queried from top to bottom against product listings.

For example, if a match is added for both Size: Small and Color: Red, then only products with BOTH attributes assigned will be linked to this attribute stock item.

A quantity multiplier may also be set per attribute match. This controls how much stock is reduced per purchase. Decimal values are allowed.

# Settings tab

Edit attribute stock settings

Some additional options can be set for attribute stock items:

  • Product type(s) - Valid product types. All other product types will be ignored.
  • Low stock threshold - When stock reaches this amount or less, you will be notified by email (if enabled in WooCommerce settings). Stock quantity will be displayed in red instead of green in the Attribute Stock table list. This stock item will also be listed under Low in stock or Out of stock respectively in the Attribute Stock report.
  • Limit product stock - See below for more info.

# Limit available product stock

Limiting product stock prevents customers from over-purchasing attribute stock. For example, if a product has 10 available, but is assigned to an attribute with 5 available, then the product page will show 5 in stock instead of 10. Likewise, customers will only be able to purchase a maximum of 5.

This also applies to products that do not manage stock themselves. In the example above, if the product's Manage stock option is disabled and Stock status is set to In stock, the product will still show only 5 in stock since there's not enough attribute stock to fulfill more than 5 orders.

If however the product's Stock status is set to On backorder, then its available quantity will not be limited by attribute stock as it will allow "back-ordering" of the product regardless of quantity in stock.

Limiting of product stock is enabled by default, but may be disabled per attribute stock item from the advanced edit interface.