What problem does it solve?
Complex promotional catalogs produce unpredictable discounts when multiple promotions, coupons, and loyalty rewards overlap, causing margin mistakes, customer support disputes, and loss of trust. This Skill defines a deterministic rule-evaluation approach so teams can control priority ordering, stacking behavior, exclusions, and customer-segment targeting while preserving an audit trail of applied promotions.
Core Features & Use Cases
- Priority-ordered evaluation: Rules are evaluated in a defined priority order so higher-priority promotions run first.
- Stacking control: Distinguish stackable vs non-stackable rules and ensure non-stackable rules prevent conflicting applications.
- Scope and exclusions: Support product/category inclusion and explicit exclusion lists where exclusions always win.
- Customer-segment gating & coupon codes: Gate rules to specific customer segments or require coupon codes for application.
- Monetary safety & auditing: Use cents-based integer math, cap discounts at cart subtotal, persist rule applications for order-level audit, and support dry-run previews.
- Platform mapping: Guidance and integration patterns for Shopify, WooCommerce, BigCommerce, and custom/headless platforms.
Quick Start
Evaluate the active pricing rules for a cart and return the applied rule IDs with discount amounts and an explanation for each application.