The extension will enable customers to accumulate "Reward points" for offline referrals.
For offline referrals, we want to use the built-in coupon code functionality - we want to create a coupon code for a specific customer that they can give out to their friends, family etc. When creating the coupon code rule, we need the ability to specify which customer "owns" the code (the customer that receives the reward points) and to set an additional percentage that will be used to calculate how many reward points this customer receives whenever someone uses this coupon code when checking out. All other actions defined for the coupon are of course also applied to the order (percentage or fixed amount discount) based on the rules we set up.
Customers must be able to check their reward points balance under their account and see recent transactions (when and why points were added or redeemed).
In the Magento admin interface, we need a report showing when and how many points were given or redeemed. We also need a way to search through a list of affiliates (customers that have their own custom coupons created) and sort by points balance, etc.
- We create a shopping cart rule with coupon code X and assign it to Joe. The coupon is set to give a 10% discount and also reward Joe with 25% of the order amount.
- Joe gives the coupon code to Mary.
- When Mary applies this coupon code to her $100 order, she receives a $10 discount (10%). Additionally, Joe receives 25% when Mary's order is billed.