Results 1 to 10 of 28

Hybrid View

  1. #1
    Join Date
    Aug 2004
    Posts
    262
    Plugin Contributions
    0

    Default Re: You must spend at least US$0.00 to redeem this coupon

    Quote Originally Posted by Ajeh View Post
    Could you post the exact settings that you are using on the Discount Coupon and any restrictions that you have set then a click for click on what exact steps would need to be done to get this to happen?
    coupon code: 52ca5ecc90
    Coupon Amount :: 40.0000%
    Start Date :: 12/10/2015
    End Date :: 12/14/2015
    Uses per Coupon :: Unlimited
    Uses per Customer :: Unlimited
    Valid Product List :: Restrictions Apply
    Valid Categories List :: Restrictions Apply

    Category Restrictions
    All Categories Deny
    Clearance Allow

    Product Restrictions
    Each product in the clearance category is listed as allow
    ----------------------------------------------------------------------------
    1. Here is a link to the clearance items:
    http://www.vintageknits.net/store/in...ndex&cPath=248

    2. Here is a link to a non-clearance item:
    http://www.vintageknits.net/store/in...oducts_id=1297

    3. If you add one non-clearance item (#2 above), and attempt to checkout:
    Here is a temporary customer login to the store:
    user name: [email protected]
    password: testing123

    a. first class mail will be the default box selected
    b. click continue to checkout
    c. put in coupon code: 52ca5ecc90
    d. click checkout with paypal, and then click continue checkout, and the correct message is displayed, but
    e. page back or hit the shopping cart button, and instead choose priority mail, and repeat the same steps, and now the incorrect message displays. “ You must spend at least $0.00 to redeem this coupon”

    **I think I’ve narrowed the problem down to when priority mail is chosen as the shipping option, it displays the wrong message of needing to spend 0.00...

    Thanks for looking at this.

  2. #2
    Join Date
    Sep 2008
    Location
    WA
    Posts
    555
    Plugin Contributions
    0

    Default Re: You must spend at least US$0.00 to redeem this coupon

    Quote Originally Posted by sadie View Post
    coupon code: 52ca5ecc90
    Coupon Amount :: 40.0000%
    Start Date :: 12/10/2015
    End Date :: 12/14/2015
    Uses per Coupon :: Unlimited
    Uses per Customer :: Unlimited
    Valid Product List :: Restrictions Apply
    Valid Categories List :: Restrictions Apply

    Category Restrictions
    All Categories Deny
    Clearance Allow

    Product Restrictions
    Each product in the clearance category is listed as allow
    ----------------------------------------------------------------------------
    1. Here is a link to the clearance items:
    http://www.vintageknits.net/store/in...ndex&cPath=248

    2. Here is a link to a non-clearance item:
    http://www.vintageknits.net/store/in...oducts_id=1297

    3. If you add one non-clearance item (#2 above), and attempt to checkout:
    Here is a temporary customer login to the store:
    user name: [email protected]
    password: testing123

    a. first class mail will be the default box selected
    b. click continue to checkout
    c. put in coupon code: 52ca5ecc90
    d. click checkout with paypal, and then click continue checkout, and the correct message is displayed, but
    e. page back or hit the shopping cart button, and instead choose priority mail, and repeat the same steps, and now the incorrect message displays. “ You must spend at least $0.00 to redeem this coupon”

    **I think I’ve narrowed the problem down to when priority mail is chosen as the shipping option, it displays the wrong message of needing to spend 0.00...

    Thanks for looking at this.
    If it helps,
    1. It displays the wrong message when any other USPS shipping is selected, not just priority.
    2. Not related but your UPS shipping looks out of whack.

    Lruskauff

  3. #3
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: You must spend at least US$0.00 to redeem this coupon

    Quote Originally Posted by lruskauff View Post
    If it helps,
    1. It displays the wrong message when any other USPS shipping is selected, not just priority.
    2. Not related but your UPS shipping looks out of whack.

    Lruskauff
    I've been running circular tests on it and while have tested priority a number of times and each of the other shipping methods at least once, I get the wrong message only when priority mail (not express), 2nd day air UPS, or UPS Ground. The first selection tried was priority mail to confirm it wasn't a session reset issue of going to a shipping method and then returning through the process...

    Looks like could be attributed to the option being an odd number in the array of shipping methods within a shipping type...

    Think you could add another (fourth) USPS method to see if the above is true?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #4
    Join Date
    Aug 2004
    Posts
    262
    Plugin Contributions
    0

    Default Re: You must spend at least US$0.00 to redeem this coupon

    I can try later today to add another shipping type. problem is, I don't think we ship with any of the other types. We don't quote flat rate boxes, etc., because it might not fit in that box.

  5. #5
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: You must spend at least US$0.00 to redeem this coupon

    Quote Originally Posted by sadie View Post
    I can try later today to add another shipping type. problem is, I don't think we ship with any of the other types. We don't quote flat rate boxes, etc., because it might not fit in that box.
    Don't know what changed, but I just tried something different than the provided instructions on the previous page.

    I added the non-clearance item from the link, I went to checkout, made it to the shipping page, saw the same options, 3 and 4 each for usps and ups, respectively.
    Returned to the cart,
    Went to the product that was in the cart,
    Went to the next item in the category,
    Added quantity of 1,
    Returned to the shopping cart,
    Continued to shipping,
    Because the default shipping that was previously selected became unavailable in this configuration, was advised (properly) that I needed to select an alternate shipping method.
    At ths point there were 2 USPS options (priorty and priority express) and the same 4 UPS options.
    I tried the "second" USPS option and received the must purchase greater than $0.00 message (expected if related to position in list)
    Returned to shipping and selected the first, now default, USPS option.
    Again tried to checkout with the coupon and was again provided the message above... (Unexpected response when compared to earlier system response.)
    Tried the first and second UPS option with the same result...

    So again, not sure what changed if anything on the server, but the response of the system changed after one of the available types of shipping methods was modified.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

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

    Default Re: You must spend at least US$0.00 to redeem this coupon

    What happens if you edit the file:
    /includes/modules/order_totals/ot_coupon.php

    and change the line around 190 to include the code in RED:
    Code:
            if ($coupon_result->fields['coupon_minimum_order'] > 0 && strval($order_total['orderTotal']) < $coupon_result->fields['coupon_minimum_order']) {
    Does this correct the problem 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!]
    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
    Aug 2004
    Posts
    262
    Plugin Contributions
    0

    Default Re: You must spend at least US$0.00 to redeem this coupon

    Quote Originally Posted by Ajeh View Post
    What happens if you edit the file:
    /includes/modules/order_totals/ot_coupon.php

    and change the line around 190 to include the code in RED:
    Code:
            if ($coupon_result->fields['coupon_minimum_order'] > 0 && strval($order_total['orderTotal']) < $coupon_result->fields['coupon_minimum_order']) {
    Does this correct the problem for you?
    Yes, that worked! Thank you.

  8. #8
    Join Date
    Aug 2004
    Posts
    262
    Plugin Contributions
    0

    Default Re: You must spend at least US$0.00 to redeem this coupon

    Quote Originally Posted by lruskauff View Post
    If it helps,
    1. It displays the wrong message when any other USPS shipping is selected, not just priority.
    2. Not related but your UPS shipping looks out of whack.

    Lruskauff
    I think it has something to do with the first automatically chosen shipping option giving the wrong message. Because when I first noticed it the other day, I was testing it with a lighter weight product, and first class was the cheapest shipping, and the one that was automatically checked, and that was giving it the error the other day. So, it isn't any particular class, only the first box (cheapest shipping)auto selected.

    Re: usp. I will look at the setting later today.

 

 

Similar Threads

  1. Replies: 3
    Last Post: 9 Aug 2013, 01:45 AM
  2. How to create a coupon with "save $10 for every $60 you spend"?
    By lina0962 in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 2
    Last Post: 7 Feb 2011, 01:11 AM
  3. Coupon Restriction - Can this be done?
    By Jeff_Mash in forum Managing Customers and Orders
    Replies: 10
    Last Post: 29 Sep 2010, 03:40 PM
  4. You Tube Videos - can this be done?
    By scottrdj in forum General Questions
    Replies: 4
    Last Post: 19 Mar 2010, 06:07 AM
  5. Have you ever done this one...!
    By diannev in forum General Questions
    Replies: 2
    Last Post: 8 Dec 2007, 05:35 PM

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