Skip to main content
11 events
when toggle format what by license comment
Sep 30, 2015 at 21:50 comment added Allenph I'm not too worried about the end user needing to find the promo code. Who cares what promo-code they used? At the end of the day it just matters that the administrator knows how much the client paid in total, and breaks up the payment.
Sep 30, 2015 at 15:19 comment added Devin You obviously delete a record from an availability pool! this is more than clear in the answer, didn't think I also had to explain technical implementation. as a matter of fact I EXPLICITLY SAY I'm not dealing with implementation, the whole implementation thing is off topic in this board. As for @MSalters comment, I really don't think it's a good idea to have 1000 random promo codes for a customer support agent when in fact this agent needs the promo code used by customer and nothing else. Simplicity is key, adding friction is a non desirable factor in UX
Sep 30, 2015 at 12:13 comment added Falco I seriously hope delete is used as a synonym for "mark as deleted with a flag" and not really delete the row physically from the database. You never delete!
Sep 30, 2015 at 8:55 comment added MSalters It's a very good idea to keep expired promo codes in your database, and in relevant parts of the User Interface. For instance, when a customer calls, Customer Support should be able to see what promo codes were valid at the time of the order, which will include promo codes that have expired at the time of the call.
Sep 29, 2015 at 22:30 comment added Devin As i said above, I tried to include more scenarios than just the OP's. In that case, it's more than obvious that you should delete an orphan promo code, as I also explained
Sep 29, 2015 at 22:17 comment added jpmc26 "Not deleting your promo codes would mean promos are infinite" The OP explicit states they have an expiration date on the code. Presumably, the system will refuse to apply a code that has expired.
Sep 29, 2015 at 20:35 comment added Devin @Allenph, I kind of figured that was your case, so I included it, yet provided a broader view for both or anyone else browsing this question in the future. As a matter of fact your question gave me a lot of things to think about and even thinking on doing some testing of my own. Needless to say I love this kind of questions!
Sep 29, 2015 at 19:02 comment added Allenph that was an EXTREMELY thorough answer. I have had multiple clients ask me for this functionality though. The reason I was so big on this particular issue is I've created a framework that automatically creates the administration side for me. Before I get too much deeper into programming the rest of the framework, I wanted to nip this issue in the bud.
Sep 29, 2015 at 19:00 vote accept Allenph
Sep 29, 2015 at 18:38 history edited Devin CC BY-SA 3.0
added 4 characters in body
Sep 29, 2015 at 18:06 history answered Devin CC BY-SA 3.0