Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

OSCommerce - calculate a discount on the total before taxes

Posted on 2007-11-19
2
Medium Priority
?
740 Views
Last Modified: 2013-11-18
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,
Freddie
0
Comment
Question by:fdran
2 Comments
 
LVL 18

Accepted Solution

by:
Mark Gilbert earned 1500 total points
ID: 20312317
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.
0
 

Author Comment

by:fdran
ID: 20316559
Installing the module provided the solution I was after.
Thank you very much for the quick response.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
In this article, we’ll look at how to deploy ProxySQL.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question