StockAdaptix – Inventory-Driven Dynamic Pricing for WooCommerce

Mô tả

StockAdaptix is an inventory-driven dynamic pricing plugin for WooCommerce that automatically adjusts product prices based on current stock levels. This allows store owners to respond to supply and demand changes in real time without manually updating prices.

Prices can increase when stock is low and decrease when inventory is high, helping maximize revenue and manage demand efficiently. The original _regular_price is never overwritten — adjustments happen at runtime via WooCommerce’s price filters, so you can disable the plugin at any time and prices revert instantly.

Key Features

  • Automatically adjust prices based on real-time stock quantity
  • Unlimited pricing rules — add as many tiers as you need (first-match-wins evaluation)
  • lte (low-stock) and gte (high-stock) comparators per rule, with increase/decrease percentage adjustments
  • Works with simple products and variable product variations (variations fall back to the parent’s stock when inherited)
  • Price floor and ceiling caps to keep adjusted prices in a safe range
  • Optional charm pricing (.99) and nearest-integer rounding
  • Modern React-based admin UI built on @wordpress/components, with a built-in live preview simulator
  • REST API for settings and price preview (/wp-json/stockadaptix/v1/settings, /wp-json/stockadaptix/v1/preview)
  • Compatible with cart and checkout pricing — each adjusted cart item is kept on its own line so two adds at different prices don’t merge
  • Order emails always show the price the customer was actually charged, never the current dynamic price
  • Optional customer messaging for price changes (product pages and cart line items)
  • Translation-ready (POT file included)
  • HPOS (High-Performance Order Storage) compatible

Example Pricing Rules (Configurable)

  • If stock <= 5 increase price by 40%
  • If stock <= 20 increase price by 20%
  • If stock >= 100 decrease price by 15%
  • Otherwise use the regular price

All rules and thresholds can be configured from WooCommerce Stock Pricing in the admin panel.

Ảnh màn hình

  • Stock-based pricing settings page

Cài đặt

  1. Upload the plugin files to the /wp-content/plugins/stockadaptix-pricing directory, or install the plugin directly from the WordPress Plugins screen.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Go to WooCommerce Stock Pricing to configure pricing rules.
  4. Enable the plugin and set your desired stock thresholds and price adjustments.

Hỏi đáp

Which products are supported?

WooCommerce simple products and variable products (per-variation), as long as stock management is enabled on the product or variation. Variations that inherit stock from the parent are handled automatically.

How do I customize the pricing rules?

Navigate to WooCommerce Stock Pricing in your WordPress admin to configure all thresholds and percentage adjustments.

Does this affect the original product price?

No. StockAdaptix dynamically adjusts displayed prices without modifying the original product prices stored in the database.

Can customers see that prices are adjusted?

Yes. You can optionally display a custom message informing customers that prices are adjusted based on availability.

Is this compatible with other pricing plugins?

Because this plugin modifies prices dynamically, it may conflict with other pricing plugins. We recommend testing compatibility before using them together.

Does the plugin support variable products?

Yes. Individual variations of variable products are adjusted based on their own stock levels (or the parent’s stock if the variation inherits it). You can disable variation handling from the settings page if you prefer to limit adjustments to simple products only.

Will adjusted prices show as a “sale” with strikethrough?

No. Adjusted prices render as a regular price, not as a WooCommerce sale price, so customers don’t see a misleading strikethrough.

What happens to past orders if I change the rules?

Nothing. Order totals and order emails always reflect the price actually charged at checkout — the current dynamic price is never applied retroactively to existing orders.

Đánh giá

Không có đánh giá nào cho plugin này.

Người đóng góp & Lập trình viên

“StockAdaptix – Inventory-Driven Dynamic Pricing for WooCommerce” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

Nhật ký thay đổi

1.0.0

  • Initial public release

1.0.1

  • Fixed bug

1.1.0

  • Variable product support
  • Unlimited rule tiers (legacy three-tier settings auto-migrated)
  • Price floor / ceiling caps
  • Charm pricing and nearest-integer rounding
  • React-based admin settings page
  • REST API + price preview simulator
  • PHPUnit tests for core pricing logic

2.0.0

  • Major release — full pricing engine rewrite around an unlimited multi-rule tier system (lte/gte comparators, first-match-wins evaluation)
  • Variable product / per-variation dynamic pricing with parent-stock fallback
  • Price floor and ceiling clamps to keep adjusted prices in a safe range
  • Rounding modes: charm pricing (.99) and nearest integer
  • Brand-new React-based admin UI built on @wordpress/components, with a built-in live price preview simulator
  • REST API: GET/POST /wp-json/stockadaptix/v1/settings and POST /wp-json/stockadaptix/v1/preview
  • Customer-facing “price adjusted” messaging on product pages and cart line items
  • HPOS (High-Performance Order Storage) compatible
  • Pure pricing math extracted to compute_price() and covered by PHPUnit tests
  • Legacy 1.0.x settings (low/medium/high three-tier schema) auto-migrated to the new rules array on read