Solved

OSCommerce - calculate a discount on the total before taxes

Posted on 2007-11-19
2
707 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:
ingwa earned 500 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Often people are aiming at development of perfect Magento websites. Though, it is easier said than done. You know what’s much easier? To ruin everything. It can be done in seconds. Many of us experimented with design, tried to change some values dir…
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

707 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now