Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13
  1. #11
    Join Date
    Feb 2016
    Location
    Canada
    Posts
    143
    Plugin Contributions
    0

    Default Re: Discount Coupon - Minimum Order Value Excluding Tax

    The issue I have is with sales tax. Some of our products are tax exempt but for the rest the tax rate is 13%. If a customer orders $90.00 of taxable product, because the total including taxes is more than $100.00 the coupon is valid which is not what I want. I want the coupon only to be valid if the sub-total before taxes is at least $100.

  2. #12
    Join Date
    Feb 2016
    Location
    Canada
    Posts
    143
    Plugin Contributions
    0

    Default Re: Discount Coupon - Minimum Order Value Excluding Tax

    No worries I figured it out, it may be crude but it works. I changed in includes/modules/order_total/ot_coupon.php in red
    if ($coupon_result->fields['coupon_minimum_order'] > 0 && strval($order_total['orderTotal']) < $coupon_result->fields['coupon_minimum_order']) {
    to:
    if ($coupon_result->fields['coupon_minimum_order'] > 0 && ($order->info['total'] -($order->info['tax'] = $order->info['tax'] - $tax) - $order->info['shipping_cost']) < $coupon_result->fields['coupon_minimum_order']) {

    so now if your minimum order is set to $100 for example, it is $100 not including shipping and taxes.

    Thanks,

  3. #13
    Join Date
    Feb 2016
    Location
    Canada
    Posts
    143
    Plugin Contributions
    0

    Default Re: Discount Coupon - Free Shipping Charging Tax

    Hello,

    I have a strange problem that just started happening 2 weeks ago. I have been using my discount code "FIRSTFREE" that is a one time use coupon for any customer that places an order of $100.00 or more which will give them a shipping discount of $10.00 which is the usual shipping amount. Shipping is taxable at 13% and the shipping tax is shown separately at checkout. If the customer is charged $10.00 shipping then there is a tax charge of $1.30. Until recently when the "FirstFree" coupon code (which is set as free shipping) was used there was no shipping tax shown at check out which was correct, now however although it shows the discount amount of $10.00 it also show the shipping tax of $1.30 which wasn't the case until recently and is incorrect.

    Thanks in advance for your help!!!

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v150 Discount Coupon Minimum Order not working
    By donscotti in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 21 Sep 2012, 07:00 PM
  2. Group Discount Minimum Order Value
    By brucemead in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 6 Nov 2007, 04:23 AM
  3. Can't set minimum order on discount coupon v1.3.0.1
    By halabaloo in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 0
    Last Post: 9 Oct 2006, 10:16 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