Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Dec 2006
    Location
    Ohio
    Posts
    198
    Plugin Contributions
    0

    Default Coupon codes not working

    All of the sudden a lot of my coupon codes stopped working. I get a message "This coupon code is not valid for any product currently in your cart."

    I did some tests, and I discovered that if I add a product restriction WITH a category restriction, the code does not work no matter what. I even added "allow all" at the end of the category restriction.

    If the restriction is only on a product or only for a category, then it works fine.

    I normally deny Gift Certificate category on all my coupons and deny a specific product, so majority of them aren't working...

    Everything was fine up until 8/22 - that's when someone used a coupon code last with category and product restrictions. Since then, the changes I made are:

    Authorized.net fix
    http://www.zen-cart.com/forum/showthread.php?t=105924

    SQL Injection patch
    http://www.zen-cart.com/forum/showthread.php?t=106701

    Any advice? TIA!

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

    Default Re: Coupon codes not working

    What are the exact settings you have on the restrictions?

    Do you use Linked Products?
    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!

  3. #3
    Join Date
    Dec 2006
    Location
    Ohio
    Posts
    198
    Plugin Contributions
    0

    Default Re: Coupon codes not working

    Restriction for my test coupon code that doesn't work:

    Deny Category "Gift Certificates"
    Deny Product "6-Piece Mineral Makeup Starter Sample Kit"

    That's it. Here's the coupon setting:

    Coupon Name :: test
    Coupon Amount :: 10.0000%
    Start Date :: 09/04/2008
    End Date :: 09/04/2009
    Uses per Coupon :: Unlimited
    Uses per Customer :: Unlimited
    Valid Product List :: Restrictions Apply
    Valid Categories List :: Restrictions Apply
    Date Created :: 09/04/2008
    Date Modified :: 09/04/2008
    Coupon Zone Restriction: :: 0

    I do have linked products, but they're not part of the coupon restriction. Plus they have been there for a very long time...

  4. #4
    Join Date
    Dec 2006
    Location
    Ohio
    Posts
    198
    Plugin Contributions
    0

    Default Re: Coupon codes not working

    The plot thickens... If I add more than 1 category to be denied to the category restriction, the code doesn't work. I even added "allow all" again...

    Oh, BTW, I'm on 1.3.8a with all recent patches applied.

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

    Default Re: Coupon codes not working

    Could you set 1 more restriction on:
    Category Top Deny

    Does this get things working again for you?
    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!

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

    Default Re: Coupon codes not working

    NOTE: Gift Certificates, when setup correctly, are automatically excluded from Discount Coupons ...
    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!

  7. #7
    Join Date
    Dec 2006
    Location
    Ohio
    Posts
    198
    Plugin Contributions
    0

    Default Re: Coupon codes not working

    Quote Originally Posted by Ajeh View Post
    Could you set 1 more restriction on:
    Category Top Deny

    Does this get things working again for you?
    Nope.

    Thanks for the tip about GCs and coupons. That one tested fine.

    I still have issues with other coupons with multiple categories and cat/product combo though.

    What is the file that handles this logic? I'm going to compare mine against the default to see if something got accidentally changed...

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

    Default Re: Coupon codes not working

    There is an existing problem with Discount Coupons on Linked Products when the Allowed Category has a higher categories_id than one of the other categories_id for the Categories that the Product is Linked to ...

    I do not have a simple solution to this, other than to define the Products separately ...

    We are working on a fix for this ...
    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!

  9. #9
    Join Date
    Dec 2006
    Location
    Ohio
    Posts
    198
    Plugin Contributions
    0

    Default Re: Coupon codes not working

    I deleted the linked product because it was disabled anyway, but it's still not working. Any other ideas?

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

    Default Re: Coupon codes not working

    What are the settings set to now on the Discount Coupon?

    What are your restrictions set to now on the Discount Coupon?

    Make sure you do NOT have both:
    Free Shipping
    Amount/Percentage

    set on the Discount Coupon ... you cannot do both ...
    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!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v138a Discount Codes suddenly not working
    By gothsiren09 in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 0
    Last Post: 5 Dec 2012, 09:13 AM
  2. Gift Certificate/Discount codes not working
    By thecafe in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 4
    Last Post: 26 Jul 2010, 04:36 AM
  3. Coupon restrictions not working for my Free Shipping coupon
    By jeking in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 9
    Last Post: 11 Nov 2008, 07:41 PM
  4. coupon not working.
    By adornit in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 2
    Last Post: 26 Jul 2008, 02:41 PM
  5. coupon codes module not working?! help?
    By triwisconsin in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 14 Dec 2007, 07:34 PM

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