Set Promocodes to work once per user

Forum
Last Post
Threads / Messages
Unfortunately there is not at this time. There is definitely some sort of editing you could do to make this possible, but I haven't looked into it a whole lot yet.

Basically my idea would be that in the table prefix_promocodes add a row called "users" that will record the IDs of each user who has used the promocode. Then modify the script so that it recognizes when a user tries to use the promocode to check if their ID is on the list for that code. If it is not, then they can use it normally, but if it is then they will be brought to an error page.

This is necessary for my site eventually, so I will be working to get a working version of this made :)
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,274
Messages
33,115
Members
1,602
Latest member
BerrieMilk
BETA

Latest Threads

Latest Posts

Top