Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Contrib 204 - Price Sensitive Discounts


Guest

Recommended Posts

Hi everyone,

 

this is probably very easy for whoever codes in PHP/MySQL...

I installed the contrib 204 (Price Sensitive Discounts) which is exactly what I was looking for.

 

Unfortunately, even though I installed it perfectly, sorting it #2 after sub-total, but before shipping, tax and total, putting "false" for both tax and shipping (I only want the discount applied to the sub-total) and recalculating the tax with the discounted sub-total.

 

Well, I don't get the right discount.

I put:

100:10,250:20,500:30,1000:40 for the discount percentage

 

I then tested it and with $200 in my sub-total, I should have 10% or $20 discount.

But for some reason, it displays "Price break Discount: $21.55" and not $20.

 

Nevertheless, if there was no shipping and taxes, the total would be $180 which is correct!!!

But the fact that the output is $21.55 and not $20 makes a problem...

 

Here is the whole output so you can understand it better:

 

Sub-Total: $200.00

Price break Discount: $21.55

Total: $180.00

 

The total is correct but I know that some people will email me telling me (with that example) that the total should be $178.45 and not $180 because the discount is $21.55

 

You know what I mean?

How to fix that??

 

Please help, my website is 99.99% ready to go... Can't wait!!!

I would really appreciate it...

 

Thanks in advance

 

Mat :thumbsup:

Link to comment
Share on other sites

I have the same problem.... for example if i have 2 items, 20 and 80 euros each:

80+

20 = 100

 

the discount is write, example 10% = 10 and subtotal ll be 90 euros... the problem came after, the system put the tax not from 90 euros, but the 100 of begin.... I try with all position in total order, and on off all option (recalculater tax ecc), but no one is right, how i can do?

Thanks

Link to comment
Share on other sites

oh that's not a problem...

 

in the admin, just set up the following configurations:

 

Include Shipping >> false

 

Include Tax >> false

 

Calculate Tax >> true

 

That will resolve your problem...

But can anyone resolve mine?? The whole calculation is CORRECT but the output of the discount is false... and really for some reason, the total amount is correct, it takes off the correct discount, not the one shown...

 

You know what I mean?

How come you got the right discount to show up?

What did I do wrong in the installation? Obviously something even though it all works good except for the output of the discount...

 

PLEASE HELP!!!

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.
Note: Your post will require moderator approval before it will be visible.

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...