Plugin info

Total downloads: 955
Active installs: 10
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 12/7/2025 (24 days ago)
Added to WordPress: 5/6/2020 (5 years old)
Minimum WordPress version: 5.0
Tested up to WordPress version: 6.9
Minimum PHP version: 7.4

Maintenance & Compatibility

Maintenance score

Actively maintained • Last updated 24 days ago

68/100

Is Variation Stock Inventory abandoned?

Likely maintained (last update 24 days ago).

Compatibility

Requires WordPress: 5.0
Tested up to: 6.9
Requires PHP: 7.4

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

No similar plugins found yet.

Description

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.

Key Features

  • Stock Multiplier for Simple Products – Add a custom inventory reduction multiplier directly in the product Inventory tab
  • Stock Multiplier for Product Variations – Configure unique multipliers for each variation independently
  • Inventory History Tracking – Complete audit trail of all stock changes with date, time, user, and order information
  • Detailed History View – Dedicated “Inventory History” tab shows before/after quantities, changes, and notes
  • Automatic Stock Calculation – Stock is automatically reduced by (quantity ordered × multiplier) when orders are placed
  • Smart Fallback – Variations without a multiplier automatically inherit the parent product’s setting
  • Seamless Integration – Settings appear natively within WooCommerce’s product editor interface
  • Lightweight & Fast – No bloat, no configuration pages – just the functionality you need

Use Cases

  • Pack Products – Sell 6-packs but track individual cans? Set multiplier to 6 and see every stock change
  • Fabric & Materials – Sell by the meter, track by centimeter with full history
  • Wholesale Quantities – Different pack sizes reduce inventory differently, all tracked automatically
  • Bundle Sales – Selling a bundle of 3 items reduces stock by 3 with complete audit trail
  • Multi-unit Products – One product listing represents multiple physical items with detailed tracking
  • Inventory Audits – Review complete history of stock movements for any product
  • Order Tracking – See which orders affected inventory and by how much

How It Works

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).

Configuration

Setting Stock Multiplier

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).

Viewing Inventory History

  1. Go to Products > Edit Product
  2. Click on the “Inventory History” tab in the Product Data section
  3. View complete history of all stock movements including:
    • Date & Time of each change
    • Product or Variation name
    • Action type (Order Placed, Manual Update, Stock Increased/Decreased, etc.)
    • Before and After quantities
    • Change amount (color-coded: green for increases, red for decreases)
    • Order number (clickable link to order)
    • User who made the change
    • Notes (click info icon to view)
  4. History shows the last 100 records per product

Support

For support, feature requests, or bug reports, please email: [email protected]

Developer Notes

Hooks Used

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

Database Tables

  • {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

Meta Keys

  • _stock_multiplier – Stores the multiplier value for products and variations
  • _stock_before_change – Temporary storage for tracking stock changes

Installation

  1. Upload the variation-stock-inventory folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress (this creates the inventory history database table)
  3. Ensure WooCommerce is installed and activated
  4. Navigate to any product edit page to configure the stock multiplier and view inventory history

Frequently Asked Questions

Does this plugin require WooCommerce?

Yes, this plugin is a WooCommerce extension and requires WooCommerce to be installed and activated.

What happens if I don’t set a multiplier?

If no multiplier is set, stock reduction works normally (1 item ordered = 1 item reduced from stock). Inventory history will still track all changes.

Can I set different multipliers for each variation?

Yes! Each product variation can have its own unique multiplier value.

Will this affect existing orders?

No, the multiplier only applies to new orders placed after the setting is configured. However, inventory history tracking begins immediately upon activation.

What is the minimum multiplier value?

The minimum value is 1, which is equivalent to standard WooCommerce behavior.

What stock changes are tracked in the inventory history?

All stock changes are tracked including: manual updates in the admin, order placements, order cancellations, order refunds, and any other stock modifications.

Can I export the inventory history?

Currently, the history is viewable in the admin panel. Export functionality may be added in future versions.

How long is inventory history stored?

History is stored indefinitely in the database. The history tab displays the last 100 records per product for performance.

Does inventory history track changes for variations?

Yes! Each variation’s stock changes are tracked separately and displayed in the parent product’s inventory history tab.

Review feed

No reviews available

Screenshots

  1. Simple product inventory multiplier setting in the Inventory tab

    Simple product inventory multiplier setting in the Inventory tab

Changelog

1.0.1

  • Added Inventory History tracking feature
  • New “Inventory History” tab in product edit page
  • Automatic tracking of all stock changes (orders, manual updates, etc.)
  • Detailed history table with date/time, action type, quantities, orders, and users
  • Note system with modal popup for additional context
  • Database table for storing inventory history records
  • Updated field labels to “Stock reduction multiplier”
  • Improved field design to match current WooCommerce styling

1.0.0

  • Initial release
  • Added stock multiplier setting for simple products
  • Added stock multiplier setting for product variations
  • Automatic stock reduction calculation based on multiplier
  • Fallback to parent product multiplier for variations