Spree Promotions Engine
Builds and customizes Spree Commerce promotion engines, including complex rules, actions, and discount logic.
This skill empowers developers to architect, implement, and debug the Spree Commerce promotions system within their agentic commerce workflows. It provides expert guidance on modeling promotion rules, defining automated actions, and implementing polymorphic calculators for complex pricing logic. Whether you are building bespoke discount UIs, migrating to the v5.1 advanced rule-based engine, or managing high-volume coupon batches, this skill ensures adherence to Spree's core concepts while maintaining order integrity and eligibility logic.
Key Features
01Implement complex pricing calculators including tiered percent and distributed amounts.
02Integrate advanced v5.1 rule-based engines with composable boolean logic.
03Architect custom PromotionRules and PromotionActions for specific business logic.
04Debug promotion eligibility by inspecting match policies and adjustment records.
05Manage coupon code batches with guidance on CSV export and import workflows.
0632 GitHub stars
Use Cases
01Creating 'Buy One Get One' (BOGO) offers using gift line item actions.
02Troubleshooting complex checkout scenarios where promotions fail to apply to specific carts.
03Developing a loyalty-tier based discount system using custom promotion rules.