[Skip to main content](#vessel-content)

#   Calcul erroné du prix avec une réduction en pourcentage

##

- **[novisoft](/forum/user/34959-novisoft "View novisoft's Profile")**
- [![novisoft's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34959-novisoft "View novisoft's Profile") Topic Author
- [ Offline](/forum/user/34959-novisoft)

Less More

- Posts: 55
- Thank you received: 3
-
-

2 years 3 weeks ago [\#363920](#363920) by [novisoft](/forum/user/34959-novisoft "View novisoft's Profile")  *[Calcul erroné du prix avec une réduction en pourcentage](/forum/5-support-en-francais-french-support-/908757-calcul-errone-du-prix-avec-une-reduction-en-pourcentage#363920 "-- HikaShop version -- : 5.1.1 &#91;2410012233&#93; -- Joomla version -- : 3.10.12  Bonjour,  Il y a une erreur de calcule lorsque l'on achète plus d'une quantité d'un produit a laquelle on a appliqué une Reduction de 20% sur un produit.  Exemple :  Normalement, on s'attendrait à avoir : Prix régulier du produit = 22,54 avec reduction de 20% = 22,54 - ( 22,54 &#42;20 /100) = 18,032 -&gt; le montant sera arrondi a 18.03  Le problème est que le total pour une quantité ne prend pas la valeur arrondie du prix du produit réduit  Je vous envoie les acces à partir de votre formulaire de contact à notre site web de test pour que vous puissiez investiguer.  merci et bonne journée, Madeleine")* was created by *[novisoft](/forum/user/34959-novisoft "View novisoft's Profile")*

-- HikaShop version -- : 5.1.1 [2410012233]
-- Joomla version -- : 3.10.12

Bonjour,

Il y a une erreur de calcule lorsque l'on achète plus d'une quantité d'un produit a laquelle on a appliqué une Reduction de 20% sur un produit.

Exemple :  [ ![reduction.jpg](/forum/attachment/59895) ](/forum/attachment/59895 "reduction.jpg")

Normalement, on s'attendrait à avoir :
Prix régulier du produit = 22,54
avec reduction de 20% = 22,54 - ( 22,54 *20 /100) = 18,032 -&gt; le montant sera arrondi a 18.03
Le total pour une quantité de 4 = 18,03 \* 4 = 72,12

Le problème est que le total pour une quantité ne prend pas la valeur arrondie du prix du produit réduit
Le total pour une quantité de 4 = 18,032 \* 4 = 72,13

Je vous envoie les acces à partir de votre formulaire de contact à notre site web de test pour que vous puissiez investiguer.

merci et bonne journée,
Madeleine

- [ ![reduction.jpg](/forum/attachment/59895) ](/forum/attachment/59895 "reduction.jpg") [ ](/forum/attachment/59895?download=1 "reduction.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vOTA4NzU3LWNhbGN1bC1lcnJvbmUtZHUtcHJpeC1hdmVjLXVuZS1yZWR1Y3Rpb24tZW4tcG91cmNlbnRhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34318_2015-11-18-2.png)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

2 years 3 weeks ago -  2 years 3 weeks ago [\#363924](#363924) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Calcul erroné du prix avec une réduction en pourcentage](/forum/5-support-en-francais-french-support-/908757-calcul-errone-du-prix-avec-une-reduction-en-pourcentage#363924 "-- HikaShop version -- : 5.1.1 &#91;2410012233&#93; -- Joomla version -- : 3.10.12  Bonjour,  Il y a une erreur de calcule lorsque l'on achète plus d'une quantité d'un produit a laquelle on a appliqué une Reduction de 20% sur un produit.  Exemple :  Normalement, on s'attendrait à avoir : Prix régulier du produit = 22,54 avec reduction de 20% = 22,54 - ( 22,54 &#42;20 /100) = 18,032 -&gt; le montant sera arrondi a 18.03  Le problème est que le total pour une quantité ne prend pas la valeur arrondie du prix du produit réduit  Je vous envoie les acces à partir de votre formulaire de contact à notre site web de test pour que vous puissiez investiguer.  merci et bonne journée, Madeleine")*

Bonjour,

Vous devriez essayer l'option "**Round prices during calculations**", cela arrondira les prix lors des différentes étapes de calcul et mieux correspondre.
[ ![alt](https://i.ibb.co/XLbRw65/image.png) ](https://i.ibb.co/XLbRw65/image.png "alt")

Cordialement

Last edit: 2 years 3 weeks ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

The following user(s) said Thank You: [novisoft](/forum/user/34959-novisoft "View novisoft's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vOTA4NzU3LWNhbGN1bC1lcnJvbmUtZHUtcHJpeC1hdmVjLXVuZS1yZWR1Y3Rpb24tZW4tcG91cmNlbnRhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[novisoft](/forum/user/34959-novisoft "View novisoft's Profile")**
- [![novisoft's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34959-novisoft "View novisoft's Profile") Topic Author
- [ Offline](/forum/user/34959-novisoft)

Less More

- Posts: 55
- Thank you received: 3
-
-

2 years 3 weeks ago [\#363949](#363949) by [novisoft](/forum/user/34959-novisoft "View novisoft's Profile")  Replied by *[novisoft](/forum/user/34959-novisoft "View novisoft's Profile")* on topic *[Calcul erroné du prix avec une réduction en pourcentage](/forum/5-support-en-francais-french-support-/908757-calcul-errone-du-prix-avec-une-reduction-en-pourcentage#363949 "-- HikaShop version -- : 5.1.1 &#91;2410012233&#93; -- Joomla version -- : 3.10.12  Bonjour,  Il y a une erreur de calcule lorsque l'on achète plus d'une quantité d'un produit a laquelle on a appliqué une Reduction de 20% sur un produit.  Exemple :  Normalement, on s'attendrait à avoir : Prix régulier du produit = 22,54 avec reduction de 20% = 22,54 - ( 22,54 &#42;20 /100) = 18,032 -&gt; le montant sera arrondi a 18.03  Le problème est que le total pour une quantité ne prend pas la valeur arrondie du prix du produit réduit  Je vous envoie les acces à partir de votre formulaire de contact à notre site web de test pour que vous puissiez investiguer.  merci et bonne journée, Madeleine")*

Merci cela fonctionne bien

The following user(s) said Thank You: [Philip](/forum/user/34318-philip "View Philip's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vOTA4NzU3LWNhbGN1bC1lcnJvbmUtZHUtcHJpeC1hdmVjLXVuZS1yZWR1Y3Rpb24tZW4tcG91cmNlbnRhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.073 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
