Auto add Customer and Discount ?% to Order by enter customer number

Hello , I want to make a promotion card to my customer and make a discount for them .
This is my flow :

  1. Add Two more field to customer --> Card Number and Discount% (10% 20% 30%…)
    2.I will add customer , enter card number and discount percent for them
  2. when they come we ask for card and enter card number to make auto discount depend on percent to all what that was order

How to do this ? How to auto add Customer when we key in the card number …and make a discount to all order …

Search the forum (top right), search for loyalty as a keyword, there are many topics covering it.
Adding custom fields is easy in the entity settings.
My loyalty system is fairly similar to your description.
I then use numberpad entered value to pickup the card number and select entity using that number.
Have a look of the forum, most if not all aspects of your questions are covered…;

thank @JTRTech I am trying follow the topic in forum but not yet get a good result …

i can add discount by percent depend on customer using this Specific Discount for Customers

my one more if i want to auto select customer using keypad …can you give me some clue …i try follow some top pic but not work …

Check VIP discount tutorial made by myself.

You can have as many levels of discount as you like

Search Select Table Numberpad