Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2007
    Location
    Pennsylvania
    Posts
    834
    Plugin Contributions
    0

    Default Old Problem New Tricks

    Hi All,
    Thanks for reading.
    My ZC version is 1.3.8a.

    Well I had a problem in the past where coupons created with a custom name would generate an error when they were used during checkout.

    The error was this:
    Warning: Division by zero in /home/volt12/public_html/includes/modules/order_total/ot_coupon.php on line 367



    So I just let ZC create the coupon codes for me now and it has been working.
    Now today helping a customer checkout I see it again. This was with a coupon code that ZC created for me so I know that's not the problem. Same error as before.

    A little more testing shows that all of my $ or % off coupons do this. The free shipping coupons dont.

    Any help would be greatly appreciated as many of these codes get mailed out to customers everyday.

    Thank you,
    John

  2. #2
    Join Date
    Feb 2007
    Location
    Pennsylvania
    Posts
    834
    Plugin Contributions
    0

    Default Re: Old Problem New Tricks

    Another Test:

    Removing $ratioTax = $adjustedTax/$order->info['tax']; from row 367 makes it work again.

    Why?

    Thanks,
    John

 

 

Similar Threads

  1. v139h USPS NEW version J transit time problem with OLD settings
    By WiccanWitch420 in forum Addon Shipping Modules
    Replies: 12
    Last Post: 4 Aug 2013, 11:25 PM
  2. v139h Urgent PayPal problem - old customers can see the module new customers can't
    By cshart in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 3 Apr 2013, 09:40 PM
  3. Replies: 1
    Last Post: 14 Mar 2012, 03:31 AM
  4. redirects to old domain name.Can't see new products online,only in new admin
    By mitdrissia in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 11 Dec 2009, 09:56 PM
  5. Old Topic - New Problem!
    By jlipper in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 1 Jul 2009, 04:12 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