fdelarosa59 Posted April 18, 2007 Posted April 18, 2007 I've posted this in the support thread for Easy Discount, as well as other people, but have yet to see any response so please excuse me for posting here. Is the support thread dead? Is boxtel on vacation? I have installed Easy Discounts and Easy Coupons on an osC2.2 MS2 store with PayPal_IPN v2.2. The problem is that the sales tax is being calculated at the original price, not the discounted price. Does anyone know how to fix this? I'm new to PHP so I don't how to go about fixing this myself. Thank you Felipe de la Rosa *Please feel free to IM me via YIM or AIM.
bobg7 Posted April 18, 2007 Posted April 18, 2007 It may have something to do with the way you have teh Admin > Modules > Order Totals Module sort order setup. I use Easy Discount and Account Balance so this is how I have mine setup, you may need to work with it a little to work for you.. Easy Discount 1 Sub Total 2 Shipping 3 Tax 4 Account Balance 5 Total 6 Hope this helps. Installed Contributions: CCGV, Close Popup, Dynamic Meta Tags, Easy Populate, Froogle Data Feeder, Google Position, Infobox Header Entire Row, Live Support for OSC, PayPal Seal with CC images, Report_m Sales, Shop by Price Revised, SQL Updater, Who's Online Enhancement, Footer, GNA EP Assistant and still going.
fdelarosa59 Posted April 19, 2007 Author Posted April 19, 2007 It may have something to do with the way you have teh Admin > Modules > Order Totals Module sort order setup. I use Easy Discount and Account Balance so this is how I have mine setup, you may need to work with it a little to work for you..Easy Discount 1 Sub Total 2 Shipping 3 Tax 4 Account Balance 5 Total 6 Hope this helps. Ok, The order does not matter. With 2 items totaling $15.98 I give a 5% discount, which comes out to $15.18. the tax shown is $1.32. The CA sales tax for our area is 8.25% which is $1.25 for $15.18. I found this in 'checkout_process.php': $total_tax += tep_calculate_tax($total_products_price, $products_tax) * $order->products[$i]['qty']; Does this mean it is calculating the tax based on the total of the products before the discount is given? Am I reading this correctly? Should it not calculate the tax based on the sub-total? Any help is appreciated Thank you Felipe de la Rosa *Please feel free to IM me via YIM or AIM.
bobg7 Posted April 19, 2007 Posted April 19, 2007 All I can say is for the past 8 months I have been using it this way and it works. Have you tried going into the Admin panel under Modules and configuring the Order Total Module as I have them listed? Installed Contributions: CCGV, Close Popup, Dynamic Meta Tags, Easy Populate, Froogle Data Feeder, Google Position, Infobox Header Entire Row, Live Support for OSC, PayPal Seal with CC images, Report_m Sales, Shop by Price Revised, SQL Updater, Who's Online Enhancement, Footer, GNA EP Assistant and still going.
fdelarosa59 Posted April 19, 2007 Author Posted April 19, 2007 All I can say is for the past 8 months I have been using it this way and it works. Have you tried going into the Admin panel under Modules and configuring the Order Total Module as I have them listed? Yes, they were already in that order. I had thought of that earlier. I'm stumped Order Total Modules Modules Sort Order Action Easy Discount 1 Low Order Fee Shipping 3 Sub-Total 2 Tax 4 Total 5 Module Directory: Easy Discount Easy discount. Activate Easy Discount true Sort Order 1 Felipe de la Rosa *Please feel free to IM me via YIM or AIM.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.