WebSite X5Help Center

 
Derek K.
Derek K.
User

Shopping cart issue  en

Author: Derek K.
Visited 916, Followers 1, Shared 0  

I am trying to apply a discount for multiple purchase. I have an item price of £4.89 and I wish to offer 10 items for £37. When I calculate the discount and apply it to the shopping cart, the individual item is displayed as £3.70 but 10 items is displayed as £37.02.

I have spent hours playing around with decimal places but cannot get the system to calculate the price of 10 items correctly. Any ideas.

Thanks

Derek

Posted on the
4 ANSWERS - 1 USEFUL - 1 CORRECT
Aleksej H.
Aleksej H.
Moderator

Hello. To add a discount for the number of items purchased, I do this:

Read more
Posted on the from Aleksej H.
Derek K.
Derek K.
User
Author

Hi Aleksej, I am doing this but the problem is that the software is rounding the percentage up and this is what causes the problem. I simply cannot get 10 products for £37.00 only £37.02. I guess I will have to consider a different discount. Is there a way to change the number of decimal points.

Read more
Posted on the from Derek K.
Miguel Galarza
Miguel Galarza
User
Best User of the month EN

Google translate.

Hi, Derek:

The problem is the price set at 4.89: if you put it at 4.90 and apply a quantity discount percentage >= 10 of 24.5 you get 37 closed. it would be exactly 36,995 but that's the problem... there can't be half a penny. so the program rounds it to 37.
4.89 / 2 = 2.445
4.9 / 2 = 2.45
With other amounts they give you inexact figures like 36.99 or 37.02 or 37.04 etc. x10 products.
I hope it serves as a guide for you.

Read more
Posted on the from Miguel Galarza
Miguel Galarza
Miguel Galarza
User
Best User of the month EN

In fact, if the discount is 24.49, it gives a more exact figure; 36.9999

Read more
Posted on the from Miguel Galarza