Custom discount module

jsinha
Sr. Software Engineer Posts: 16 π§π»βπ - Cadet
Hi,
I am working on the Annex Cloud Loyalty project where on successful order customer get loyalty points.
I have to create a custom discount module with consume the loyalty points based to the loyalty calculation it reduces the cart amount which should be apply loyalty point discount.
Please help meβ¦. It'll be highly appreciated.
Thanks
Jitesh Sinha
Tagged:
0
Answers
-
Hi, Jitesh Sinha!
I see several options here:
- each order creates a new non-exclusive discount+voucher, with the amount corresponding to the loyalty points. Customer may apply as many vouchers as he/she wants.
- each customer has a fixed voucher, which when applied queries the loyalty program and applies current amount as a discount.
Depending on your requirements, I'd investigate both options.
AndriyT
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 81 Spryker News
- 961 Developer Corner
- 815 Spryker Development
- 91 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 36 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 29 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 33 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random