Use Cases

Real-Time E-Commerce Pricing That Keeps Customers in the Basket

A real-time pricing engine for e-commerce calculates prices, discounts, and personalized offers the moment a customer changes their basket, and returns the result in milliseconds through a REST API. DecisionRules puts that logic into business rules your team manages directly, so prices stay fast, accurate, and easy to update without waiting for IT.

Real-Time E-Commerce Pricing That Keeps Customers in the Basket hero image

E-commerce Is Fast. Your Pricing Must Be Instant.

Today you can launch new products in minutes. Warehouses and logistics are already optimized and marketing campaigns are more advanced than ever.

But one critical part is still too slow: The price and discount calculation in the basket.

Customers expect the price to react immediately to what they add, remove, or change. When the pricing engine cannot keep up, the entire customer journey breaks.

The Problem Most E-commerce Teams Face

This is not a technical issue only. It is a business limitation hidden inside the pricing logic.

From the Customer Point of View

You have probably experienced this yourself:

  • Waiting several seconds for the basket to recalculate
  • Seeing discounts applied incorrectly
  • Refreshing the page because the price did not update
  • Losing the session because of a slow connection
  • Closing the basket because the experience feels unreliable

This is not only frustrating. It directly reduces conversion rates and customer trust.

From the Business Strategy Owner Point of View

The problem may look different, but it has the same root cause.

  • You want to create personalized offers
  • You want to combine loyalty discounts with campaigns
  • You want to reward regular customers differently than new ones
  • You want to react quickly to market changes

But your tools do not allow it. Instead, pricing logic is rigid due to:

  • Discount combinations are limited
  • New pricing rules require IT development
  • Campaign flexibility is extremely low

This creates a gap between business strategy and system capabilities.

What Modern E-commerce Really Needs

It does not need another promotion tool. It needs a real-time decision layer for pricing.

A rule engine makes it possible to:

  • calculate complex discounts in milliseconds
  • react instantly to changes in the basket
  • allow business users to design pricing logic directly
  • keep pricing decisions fully transparent and under control

Fast and Flexible Discount Calculator

The modern e-commerce customer expects pricing that adapts to their behavior in real time. A rule engine transforms pricing into a dynamic and customer-centric process. All calculations happen instantly.

Designed for a Perfect Customer Journey

Customers do not see pricing logic. They only see how fast and accurate the basket reacts. With a rule-driven pricing approach, you can deliver:

  • immediate price recalculation
  • consistent discount application
  • stable checkout experience
  • personalized offers without delays

The result is a smoother customer journey and higher trust in the platform.


New web 32 Thumbnails HD (33).png

DecisionRules connects customer expectations, business pricing needs, and real-time discount execution.

Why Traditional Pricing Tools No Longer Work

Most pricing engines were designed for simple promotions:

  • one discount per product
  • one campaign at a time
  • predefined pricing logic

Modern e-commerce requires much more:

  • dynamic discount combinations
  • loyalty-based pricing
  • customer-specific offers
  • basket-based logic
  • campaign flexibility

Traditional tools cannot handle this complexity without becoming slow or unstable.

Business-Driven Pricing: Without IT Dependency

  • No-Code Rule Configuration: Define pricing and discount logic using decision tables and simple rule flows by business, no development required.
  • Instant Campaign Changes: Launch or adjust promotions in real time without waiting for release cycles.
  • Full Pricing Flexibility: Easily combine loyalty programs, basket rules, and product discounts in one unified logic.
  • Rapid Experimentation: Test pricing strategies and A/B scenarios instantly to optimize conversion.
  • Real-Time Control: Adjust pricing conditions dynamically based on customer behavior and basket changes.
  • Reduced IT Bottlenecks: Shift pricing ownership to business teams and free IT from constant change requests.
  • Consistent Execution: Ensure every rule is applied accurately and consistently across all customer journeys.
  • Transparent Logic: Maintain full visibility over how prices and discounts are calculated at any moment.


New web 32 Thumbnails HD (31).png

Business-driven pricing lets e-commerce teams manage rules, campaigns, experiments, and pricing logic without waiting for IT.

Start Building a Better Pricing Experience

If your pricing logic is slow, rigid, or difficult to manage, it is not a marketing problem—it is a decision-logic problem.

A fast and flexible rule engine allows you to:

  • improve customer experience
  • increase conversion rates
  • create personalized offers instantly
  • reduce dependency on IT development


And here is How it Works:

Core Calculation Process

The promo basket calculation is executed as a rule-driven decision flow, orchestrated by a rule engine.

The entire process is visually designed in a flow, where business users can clearly see how pricing decisions are made—from input basket to final price.

At the same time, all detailed logic is maintained in connected parametrization decision tables, ensuring simplicity and flexibility without changing the flow or requiring development.

While the rule flow logic can be flexibly enhanced and changed with analytical skills, the decision tables are straight for the easy use of business logic. Both using the drag and drop and visual management of the rules.

The flow of rules is designed to cover levels of the final basket prices as product-level promotions, brand and category promotions, customer segment discounts, basket-level conditions, combination and promo-stacking logic.


basket1.png

Decision Flow for Promo Collection

The part of the promo parametrizations allows to set the discount values and thresholds, eligibility conditions, campaign combinations, exclusion and stacking rules, priority and override logic using drag and drop and decision table structure.

Promotion Set up

The rule engine evaluates promotions dynamically across multiple dimensions on multi-Level Promo Assignment and is applied on:

  • Product level → individual SKU discounts
  • Brand level → brand campaigns
  • Category level → category-wide promotions
  • Customer segment → loyalty or targeted offers
  • Basket level → total value or combination-based discounts


basket2.png

Promotion set-up detail

Business simply sets up the level of the promo - percentage and usage on Cart, Item or combined level based on selection in definition table.

Product table:

basket3.png

Product Decision Table

Brand table:

basket4.png

Brand Decision Table

During setup, business users can use the full toolbox of features to manage promotion versioning, detect duplicate configurations, and define time validity for each promo.

Once promotions are set up, the rule engine needs to resolve potential conflicts between promo codes.

Priority & Conflict Resolution

When multiple promotions apply, the rule engine:

  • assigns priorities using decision trees
  • evaluates stacking or exclusion rules
  • ensures the correct promotion combination is applied

This prevents conflicts and guarantees consistent pricing outcomes.


basket5.png

Decision Tree logic for discount calculation

Finally recalculating and comparing the prices with and without promo to show to the client the benefits using your service.

Final calculations

Dynamic Price Comparison

For every basket, the engine automatically:

  • calculates price with promotions
  • calculates price without promotions
  • compares results in real time

Flexible Setup for Any Pricing Strategy

The process is not fixed. It can be easily adapted for:

  • simple discount scenarios
  • complex campaign combinations
  • loyalty-driven pricing
  • flash promotions
  • A/B testing of pricing strategies

All changes are configurable directly in decision tables or flows.

Real-Time Execution via API

Once calculated, the results are immediately returned to the front end:

  • full basket pricing
  • applied promotions
  • savings breakdown
  • pricing logic trace (if needed)

All delivered in milliseconds via REST API.

What This Means in Practice

  • No delays in basket recalculation
  • No broken customer journeys
  • No limitations in pricing creativity
  • No dependency on IT for changes

Switching from Promotion Logic to Pricing Intelligence

Instead of managing static discount rules, you now operate a real-time pricing decision engine adaptable to any campaign, scalable across markets, ready for personalization and AI.

Milan Havelka

Milan Havelka

Advisor