Seiya Posted April 28, 2011 Share Posted April 28, 2011 I need to generate a few dozen promo codes which can only be used once each to prevent them being distributed around. The web interface takes too long and I need to do this regularly. I can see that the codes are stored in the 'tblpromotions' table. Can I just write a quick script which will generate the codes and create the new records or are there any other tables involved when you create a new promo code? 0 Quote Link to comment Share on other sites More sharing options...
ecosee Posted May 29, 2011 Share Posted May 29, 2011 Works perfectly: https://member.global-fair-trade.com/cart.php?gid=18 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.