Variation Stock Inventory is a lightweight WooCommerce extension that gives you precise control over how stock is reduced when products are purchased, plus complete visibility into every inventory change. Define custom stock reduction multipliers for both simple products and individual product variations to accurately manage inventory for bundles, packs, wholesale items, or any scenario where one sale should reduce stock by more than one unit.
Perfect for store owners who sell products in quantities but need to track individual units in inventory and maintain a complete audit trail of all stock movements.
Stock Multiplier:
1. Set a “stock multiplier” value on any product or variation
2. Customer places an order for that product
3. Plugin calculates: stock reduction = ordered quantity × multiplier
4. Inventory is reduced by the calculated amount
5. Change is automatically logged to inventory history
Inventory History:
1. Every stock change is automatically tracked and logged
2. View complete history in the “Inventory History” tab on product edit page
3. See date/time, product/variation, action type, before/after quantities, order links, and user information
4. Add notes to manual stock adjustments for future reference
Example: A 12-pack of soda has multiplier set to 12. Customer orders 2 packs. Your inventory reduces by 24 cans (2 × 12 = 24), and the history shows: Order #123 reduced stock from 100 to 76 (-24).
For Simple Products:
1. Go to Products > Edit Product
2. Click on the “Inventory” tab in the Product Data section
3. Find the “Stock reduction multiplier” field
4. Enter your desired multiplier value (minimum: 1)
5. Save the product
For Variable Products:
1. Go to Products > Edit Product
2. Click on the “Variations” tab in the Product Data section
3. Expand any variation
4. Find the “Stock reduction multiplier” field
5. Enter your desired multiplier value for each variation
6. Save changes
Note: If a variation doesn’t have a multiplier set, it will automatically use the parent product’s multiplier value (if set).
For support, feature requests, or bug reports, please email: hello@sahilbuddhadev.me
Stock Multiplier:
* woocommerce_product_options_inventory_product_data – Adds multiplier field to simple products
* woocommerce_variation_options_pricing – Adds multiplier field to variations
* woocommerce_admin_process_product_object – Saves simple product settings
* woocommerce_save_product_variation – Saves variation settings
* woocommerce_order_item_quantity – Applies the multiplier during stock reduction
Inventory History:
* woocommerce_product_data_tabs – Adds inventory history tab
* woocommerce_product_data_panels – Renders inventory history panel
* woocommerce_product_set_stock – Tracks simple product stock changes
* woocommerce_variation_set_stock – Tracks variation stock changes
* woocommerce_reduce_order_item_stock – Tracks order-based stock reductions
{prefix}_wc_stock_inventory_history – Stores inventory change records with product_id, variation_id, date_time, action_type, quantities, order_id, user_id, and notes_stock_multiplier – Stores the multiplier value for products and variations_stock_before_change – Temporary storage for tracking stock changes