Backard Posted March 19, 2007 Share Posted March 19, 2007 I'm assuming then that you don't charge tax on shipping. If that's the case and only need the discount tax computed in admin/edit_orders.php change if($ot_class == "ot_shipping")//a good place to add in custom total components to if($ot_class == "ot_custom")//a good place to add in custom total components then change AND class = 'ot_shipping'"); to AND class = 'ot_custom'"); Finally, make sure "25.00" is always entered into the field in Order Editor usually called "shipping tax". For the sake of simplicity you can simply make this entry 25.00 by default in the database itself. I put 25.00 in database and everything works great. Thank you! Ps. where do I change the printing order of tax and discount? I want to show discount before tax. Quote // Buck Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.