WebSite X5Help Center

 
Derek K.
Derek K.
User

Shopping cart issue  en

Autor: Derek K.
Visitado 566, Followers 1, Compartido 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

Publicado en
4 RESPUESTAS - 1 ÚTIL - 1 CORRECTO
Aleksej H.
Aleksej H.
Moderator

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

Leer más
Publicado en de Aleksej H.
Derek K.
Derek K.
User
Autor

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.

Leer más
Publicado en de Derek K.
Miguel Galarza
Miguel Galarza
User

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.

Leer más
Publicado en de Miguel Galarza
Miguel Galarza
Miguel Galarza
User

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

Leer más
Publicado en de Miguel Galarza