Advertisement:

Author Topic: Mass discount codes  (Read 5049 times)

Offline Cathal

  • Semi-Newbie
  • *
  • Posts: 40
Mass discount codes
« on: October 31, 2018, 02:20:01 PM »
I want to generate about 50 unique discount codes for single use? Doing this one by one would be a bit of a chore.
Is there a way to do this or a way to duplicate rows in the DB that I can then just change the code?

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 21,174
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Mass discount codes
« Reply #1 on: October 31, 2018, 04:33:27 PM »
You could do an online password generator to generate 50 unique combos

You can export and insert the row multiple times
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Cathal

  • Semi-Newbie
  • *
  • Posts: 40
Re: Mass discount codes
« Reply #2 on: November 01, 2018, 02:42:23 PM »
Is it just the one table - cart_rule - no cross referencing?