Noy Posted October 6, 2006 Share Posted October 6, 2006 You have to modify the code in Order Editor to take the discount into account when calculating tax. To do this we have to know the ot_class value of the discount component. You can find this in the the 'orders_total' table in the database. For example, subtotal is ot_subtotal, total is ot_total, tax is ot_tax, etc. It's ot_custom... So it'll have applyed the same rule for every "custom" add? Well... at the moment I've only an ot_custom class entry, so every ot_custom could be like this. Right... how can I modify the code? Quote 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.