Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Discount Percentage Is Deducted Twice From The Total


Recommended Posts

Hi there,

 

We recently installed the DISCOUNT COUPONS feature on our website. We've got it set for a 20% discount.

 

The order total comes to $38.85. Twenty percent is $7.77, bringing the subtotal to $31.08.

 

The customer's invoice looks like this:

 

Sub-Total: $31.08 <----the discount has already been applied

Discount Coupon applied: -$7.77 <---Another 20% discount

Table Rate (freight): $8.95 <--- add in the freight

Total: $32.26 <----- now, if you do the math, you can see it's deducting the coupon twice! :'(

 

Here's what I found:

 

In the admin section of the website, in the ORDER TOTAL MODULE, we had the following set to false:

 

Display subtotal with applied discount?

true - the order subtotal will be displayed with the discount applied

false - the order subtotal will be displayed without the discount applied

 

But the *false* setting doesn't work that way! When set to false, the subtotal IS DISPLAYED WITH THE DISCOUNT APPLIED!!

 

By setting it to TRUE, the problem was fixed.

So the $38.85 invoice now looks like this:

 

Discount Coupon applied: -$7.77

Sub-Total: $31.08

Table Rate (freight): $8.95

Total: $40.03

 

 

Anyway, by the time I had this all typed-out, I had answered my own question, and thought I would share my findings.

 

Best,

Sunshine

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...