Custom discount module

jsinha
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:

Answers

  • profuel
    profuel SSA Sprykee Posts: 66 🪐 - Explorer

    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