OSCommerce - calculate a discount on the total before taxes

Hi all,
I am very new at OSCommerce and can not figure out which file(s) need(s) to be modified so that a 10% discount is calculated on the total before taxes and not on the total after taxes as it is on my current install. I thought this would be an easy task and tried to locate where the calculation is done in order.php, order_total.php or the files under modules/order_total but no success. I would be extremelly grateful if someone could give me some pointers as this needs to be fixed urgently.

Thank you for any help or ideas,
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

Mark GilbertConnect With a Mentor Senior Performance EngineerCommented:
Look for the coupon code component that is freely available.  http://addons.oscommerce.com/info/4269  You could create a coupon code and then use a hidden field to input it at order time.  Additionally look under the modules > order totals and sort your discount in that area if you already use a discount one.  Hope this helps.
fdranAuthor Commented:
Installing the module provided the solution I was after.
Thank you very much for the quick response.
All Courses

From novice to tech pro — start learning today.