Results 1 to 1 of 1
  1. #1
    Join Date
    Apr 2009
    Posts
    1
    Plugin Contributions
    0

    Default Sorting a tax problem when you write a discount coupon

    Hi all,

    Everything looked fine in the payment section until I added a discount coupon. It was considering the discount in the shipping when it was calculating the tax but not when it was calculating the total prices so I got a wrong total because of that.

    Here I leave a solution. It involves two files; both of them in includes\modules\order_total folder:

    ot_coupon.php
    ot_shipping.php

    I have attached those two files.

    If you use those files, please tell me if you get any problem.
    Attached Files Attached Files

 

 

Similar Threads

  1. Tax calculating incorrectly when discount coupon has restrictions
    By FoodDudes in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 0
    Last Post: 10 Dec 2010, 08:22 PM
  2. Incorrect tax calculation when using discount coupon
    By Royal in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 0
    Last Post: 20 Jul 2010, 01:02 PM
  3. Re: Discount Coupon Tax Problem
    By MikeG1969 in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 0
    Last Post: 17 May 2010, 05:17 PM
  4. Discount Coupon Tax calculation problem
    By Amit001 in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 1 Aug 2008, 02:00 PM
  5. Discount Coupon AND Group Discount Tax Problem
    By mrkrinkle in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 11
    Last Post: 5 Apr 2007, 12:16 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