My upcoming project is relate to sales system, so one of the main requirement is "user can modify promotion by themselves". Promotions is vary, they give me some of them.
- Buy 1 get 1 free, Buy 2 get 3.
- One for 30%, two for 50%, three for 80%
- Buy product A will discount 30% for product B
- 20% off for more than 20$ per transaction
I know a little of rule engine, please suggest me a book to learn it too.