Other WooCommerce

Dynamic Pricing Engine

Dynamic pricing for WooCommerce

Adjust your prices in real time based on hour, stock, customer segment, or competitor price.

WooCommerce 8+ WordPress 6+ HPOS Checkout Blocks PHP 7.4+
  • 30-day refund
  • 12 months updates
  • 24h support
www.datafirefly.com/en/
Dynamic Pricing Engine
v1.0.0 · updated 2026-05-22
What it does

The short version.

01

4 rule types

Time of day, stock level, customer segment, competitor price. Combinable and prioritizable.

02

3-level safeguards

Per-rule floor and ceiling, global percentage safeguards, cost-of-goods protection.

03

Built-in competitor scraping

CSS, XPath, regex or auto-detect JSON-LD Schema.org selectors. Hourly batch.

04

Native A/B testing

Weighted variants, exposure tracking, add-to-cart, conversions, and per-variant RPV.

05

Full log

Every adjustment logged with context. Filter by product, rule, or test. Auto-purge.

06

HPOS compatible

Compatibility declared with custom order tables and Checkout Blocks.

The long version

Everything you'd want to know before you install.

A detailed look at how Dynamic Pricing Engine works, why we built it the way we did, and the thinking behind the features above.

§ 01

Why a dynamic pricing engine?

Selling at the same price all day, to every customer, regardless of stock or market conditions, is leaving margin on the table. Dynamic Pricing Engine gives you four levers to optimize each sale: time of day (happy hour effect), stock level (clear overstocked items, premium-price scarce ones), customer segment (reward loyal customers, offer B2B pricing), and competitor prices (stay competitive without manual monitoring).

§ 02

Four rule types, combinable and prioritizable

Each rule has a type (time, stock, segment, or competitor), a scope (global, category, tag, or specific product), an adjustment (percentage, fixed, set value, or competitor match), and a priority. Rules execute in priority order, each working on the result of the previous one. You can chain, for example: "10% off for VIPs" then "cap at 130% of cost".

§ 03

3-level safeguards to never sell at a loss

First level: optional floor and ceiling on each rule. Second level: global safeguards as a percentage of the original price (e.g., never go below 70%). Third level: cost-of-goods protection, which prevents the final price from going below the value of a configurable product meta (compatible with WooCommerce Cost of Goods).

§ 04

Built-in competitor scraping

Add a competitor product page URL, pick a selector type (CSS, XPath, regex, or auto-detect JSON-LD Schema.org), and the plugin automatically retrieves the price on a configurable schedule. The scraper processes batches of 25 URLs per run to stay lightweight, handles European and US price formats, and exposes a Scrape now button to force an immediate update from the admin interface.

§ 05

Customer segments with criteria builder

Freely define your customer segments by combining criteria: order count, total spent, user role, days since last order, guest status. Ten operators available (==, !=, >, >=, <, <=, in, not_in, contains, not_contains). Three segments are seeded on activation: new customers, loyal customers, VIPs. You can then target these segments from any pricing rule.

§ 06

Native A/B testing with RPV calculation

Create a test, define your variants (A, B or more) and their traffic weights, then link one or more rules to a variant. The plugin automatically assigns each visitor to a variant via a dedicated cookie, records exposures, add-to-cart events (add_to_cart hook), and conversions (woocommerce_thankyou hook), then calculates ATC CR, Conv. CR, and RPV (revenue per visitor) per variant in real time. The winning variant is highlighted automatically.

§ 07

Full and actionable log

Every price adjustment is logged: product, variation, triggered rule, customer (or anonymous session), original price, final price, adjustment amount, A/B test and variant, context (front, cart, checkout). The interface lets you filter by product, rule, or A/B test, with pagination. Smart rate-limiting prevents flooding (1 entry per session, product, and hour) and an automatic purge removes old entries based on configurable retention.

§ 08

HPOS-compatible and cache-aware

The plugin declares compatibility with HPOS (custom order tables) and Cart/Checkout Blocks on initialization. For products with variations, a dynamic seed (user + session + 5-minute bucket) is injected into the WooCommerce variation price hash, forcing a recalculation at the right moment without breaking the cache for other visitors.