price-rules-engine

Implement stackable price rules with priority ordering and customer segmentation.

44|7|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill price-rules-engine
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: price-rules-engine
Source: https://github.com/finsilabs/awesome-ecommerce-skills/tree/main/skills/pricing-promotions/price-rules-engine
Command: npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill price-rules-engine

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables the creation and management of complex, stackable pricing rules that can be targeted to specific customer segments, product exclusions, and applied with defined priority, ensuring deterministic discount application.

Core Features & Use Cases

  • Stackable Discounts: Define multiple promotions that can be applied concurrently.
  • Priority Ordering: Control the sequence in which rules are evaluated and applied.
  • Customer Segmentation: Target discounts to specific customer groups (e.g., VIPs, new customers).
  • Exclusions: Prevent discounts from applying to specific products or categories.
  • Platform Integration: Provides guidance for Shopify, WooCommerce, BigCommerce, and custom solutions.

Quick Start

Configure a new price rule on Shopify that offers 20% off all shoes for Gold loyalty members, excluding Nike products.

Frequently Asked Questions about price-rules-engine

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement stackable discounts with priority ordering for e-commerce promotions?

Stackable discounts with priority ordering are implemented by configuring a price rules engine that evaluates multiple concurrent promotions sequentially, ensuring deterministic discount application based on assigned rule priorities.

Can I target pricing rules to specific customer segments on Shopify or WooCommerce?

Targeting pricing rules to specific customer segments on Shopify, WooCommerce, and BigCommerce is supported by defining customer group conditions within the rule evaluation logic, allowing promotions for groups like VIPs or new customers.

What is the best way to exclude specific products or categories from a promotional discount?

Excluding specific products or categories from a promotional discount is handled by adding product exclusion constraints to the price rule, preventing the discount engine from applying the price reduction to restricted items like Nike products.

How do I build a custom price rules engine for a headless e-commerce platform?

Building a custom price rules engine for a headless e-commerce platform is facilitated by using the provided TypeScript example for rule evaluation logic, which demonstrates how to implement stackable discounts, exclusions, and priority ordering deterministically.

How does deterministic discount application work when multiple promotions overlap?

Deterministic discount application during overlapping promotions works by enforcing strict priority ordering across stackable discounts, ensuring the rule engine evaluates and applies each pricing rule in a predictable, controlled sequence.