# Introduction

Welcome to the WooCommerce Attribute Stock online documentation.

Take control of your products with flexible attribute stock. Easily track shared stock, variable stock, product addons, ingredients, and much more!

# Why Attribute Stock?

WooCommerce Attribute Stock allows you to set, track and manage stock at the product attribute level or attribute term level. This enables some very useful functionality for setting up your product stock. Until now, this level of stock control has not been possible in WooCommerce.

Use WooCommerce Attribute Stock to set up your stock according to your inventory, not just your products. You can even track stock that's not directly included in a product, such as packaging, labels, office supplies, etc.

# Features

  • Attribute-based stock
    Assign and manage stock at the attribute level or attribute term level.

  • Management interface
    Admin page for advanced management of attribute stock items. Set SKUs, internal notes, product types, low stock threshold, and more.

  • Quantity multiplier
    Set how much attribute stock is reduced per purchase. Decimal values are also allowed.

  • Multi-attribute stock
    Assign any number or combination of attributes to a single stock item.

  • Limit product stock
    Display the effective product stock available on the frontend and prevent over-purchasing.

  • Stock reports
    Keep track of your attribute stock with WooCommerce stock reports.

  • Low stock emails
    Email notifications for low stock and out of stock attributes.

  • Fully-extensible codebase
    Almost anything that can't already be configured can be added or changed with actions and filters.

  • Translation ready
    Fully compatible with translation files and language packs.

# Installation

To install, simply upload the plugin to your site via Plugins > Add New > Upload Plugin.

Alternatively, unzip the plugin ZIP file and upload the resulting folder to your site's /wp-content/plugins/ directory. Don't forget to activate it through the Plugins menu in WordPress.

# Upgrading from the Lite Version

If you have the Lite version installed, make sure to uninstall it before installing the Full version. Your attribute stock data will not be deleted.

# Deleting data

By default, when you uninstall WooCommerce Attribute Stock, all of the attribute stock data you've added will remain in your database. This safeguards against accidental data loss.

However, if you want all attribute stock data deleted, simply add the below line to your wp-config.php file before uninstalling the plugin:

define('MEWZ_DELETE_DATA', true);