Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2010
    Posts
    2
    Plugin Contributions
    0

    Default Is there a limit on how many discount coupons I can create?

    Hi all,

    I am using Zen Cart 1.3.8a.

    I am wanting to implement a new scheme which will require issuing a lot of discount coupons to specific individuals.

    Is there a limit on how many discount codes I can create? Or can I create an unlimited amount?

    Cheers

  2. #2
    Join Date
    May 2005
    Location
    Bath, Somerset
    Posts
    1,053
    Plugin Contributions
    3

    Default Re: Is there a limit on how many discount coupons I can create in Zencart?

    You can create as many as the integer value within the database can handle. I think this is approximately 2,147,483,647.

    Remember though that if you have hundreds, or even millions, your store needs to run through all of these to check that the discounts are valid, so try not to have 2 active ones, and thousands of disabled ones, as this will just slow your store's performance.

    Absolute
    Back, after a 4 year absence! Did you miss me?
    Absolute Web Solutions Ltd
    Interested in our work? Take a look at one of our sites - The Tech Store

  3. #3
    Join Date
    Mar 2010
    Posts
    2
    Plugin Contributions
    0

    Default Re: Is there a limit on how many discount coupons I can create?

    Thanks for the response.

    I think 2,147,483,647 is more than enough for what I want to use it for!

    Thanks again.

    Tuckjuck

  4. #4
    Join Date
    Apr 2006
    Posts
    113
    Plugin Contributions
    0

    Default Re: Is there a limit on how many discount coupons I can create in Zencart?

    Quote Originally Posted by Absolute View Post
    You can create as many as the integer value within the database can handle. I think this is approximately 2,147,483,647.

    Remember though that if you have hundreds, or even millions, your store needs to run through all of these to check that the discounts are valid, so try not to have 2 active ones, and thousands of disabled ones, as this will just slow your store's performance.

    Absolute
    Good point about not having too many to slow things down but I am having trouble deleting coupons once they are not needed anymore.

    When I delete, it asks me to confirm, I say yes. Then it just makes them inactive. This happens whether they were inactive in the first place or not. I thought it may not want me to delete coupons which were still within the time period but the expiry date does not seem to make any difference either.

    I want to start using more coupons but dont want to create a whole bunch that I cant delete later.

    Any suggestions?

    cheers
    Leah

  5. #5
    Join Date
    May 2005
    Location
    Bath, Somerset
    Posts
    1,053
    Plugin Contributions
    3

    Default Re: Is there a limit on how many discount coupons I can create?

    See, every day is a school day!

    Just had a quick look at the code, and it never deletes the coupon, it will only ever disable them. I'm not sure if this has anything to do with the redeemed coupons and running reports. For example, it may be that if you actually delete the coupons, they then don't appear within a sales report.

    You might want to test this on a demo site, and then delete out a coupon directly from the database, and see if this has any negative effects.

    Absolute
    Back, after a 4 year absence! Did you miss me?
    Absolute Web Solutions Ltd
    Interested in our work? Take a look at one of our sites - The Tech Store

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Is there a limit on how many discount coupons I can create?

    Discount Coupons are not fully deleted so that the code cannot be repeated "accidentally" or on "purpose" on a new Discount Coupon so that once a Discount Coupon has ben disabled or expired it is permanent ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. How many coupons databse suport?
    By GsMafia in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 2
    Last Post: 13 Nov 2009, 06:17 PM
  2. Can I restrict Discount Coupons if Group Discount used?
    By mitch_h in forum General Questions
    Replies: 3
    Last Post: 5 Nov 2009, 02:25 AM
  3. How many levels deep of categories can there be?
    By skunkbad in forum General Questions
    Replies: 2
    Last Post: 2 Sep 2009, 05:40 PM
  4. Does the cart limit how many attempt for Credit card Auth/
    By gardengate in forum Addon Payment Modules
    Replies: 3
    Last Post: 8 Sep 2006, 02:11 PM
  5. Replies: 3
    Last Post: 2 Sep 2006, 06:17 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR