Problem about bonus point

Good day ERPNext community,

I have a question about bonus point
for example : buy $100 get 1 bonus point , and in next transaction customer can use this bonus point to get some discount
I don’t want to use pricing rule to do this
Is there any suggestion , thanks

Hi @1117 . You can create a custom for this. I suggest you:

  1. Make Custom Field “Bonus Points” in Customer. Update it every time customers makes sales and accumulate it.
  2. Show this during ordering and make a validation to auto compute discount.

Regards

could you please give me more details?
I have customized the field “bonus points” in customer,
but I do not knot how to accumulate it and auto compute discount.