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

#   coupon € vs % résultat different

##

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

Less More

- Posts: 2705
- Thank you received: 74
-
-

11 years 2 months ago -  11 years 2 months ago [\#213260](#213260) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  *[coupon € vs % résultat different](/forum/5-support-en-francais-french-support-/879094-coupon-eur-vs-resultat-different#213260 "-- HikaShop version -- : 250 -- Joomla version -- : 343  Bonjour  nous avons une seule taxe = 20 % dans l'admin d'hikashop : appliquer la reduction après les taxes  je cree un coupon de type 10€ (taxe par defaut) -&gt; j'ai 10€ de reduction je cree un coupon de type 10% (taxe par defaut) -&gt; j'ai bien 10% de reduction mais sur le HT  quels sont les paramètres exacts pour avoir la reduction voulue sur le prix final des produits (TTC pour France et HT pour les DOM TOM) ?  pour l'instant les clients appellent pour dire que les prix sont faux  je ne comprend d'ailleurs pas le role de discount&#95;tax&#95;id puisqu'en principe une reduction est calculée HT ou TTC mais sur le prix du produit qui a deja un tax&#95;id  merci")* was created by *[erickb](/forum/user/4069-erickb "View erickb's Profile")*

-- HikaShop version -- : 250
-- Joomla version -- : 343

Bonjour

nous avons une seule taxe = 20 %
dans l'admin d'hikashop : appliquer la reduction après les taxes

je cree un coupon de type 10€ (taxe par defaut) -&gt; j'ai 10€ de reduction
je cree un coupon de type 10% (taxe par defaut) -&gt; j'ai bien 10% de reduction mais sur le HT

quels sont les paramètres exacts pour avoir la reduction voulue sur le prix final des produits (TTC pour France et HT pour les DOM TOM) ?

pour l'instant les clients appellent pour dire que les prix sont faux

je ne comprend d'ailleurs pas le role de discount_tax_id puisqu'en principe une reduction est calculée HT ou TTC mais sur le prix du produit qui a deja un tax_id

merci

Last edit: 11 years 2 months ago by [erickb](/forum/user/4069-erickb "View erickb's Profile").

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

11 years 2 months ago [\#213276](#213276) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[coupon € vs % résultat different](/forum/5-support-en-francais-french-support-/879094-coupon-eur-vs-resultat-different#213276 "-- HikaShop version -- : 250 -- Joomla version -- : 343  Bonjour  nous avons une seule taxe = 20 % dans l'admin d'hikashop : appliquer la reduction après les taxes  je cree un coupon de type 10€ (taxe par defaut) -&gt; j'ai 10€ de reduction je cree un coupon de type 10% (taxe par defaut) -&gt; j'ai bien 10% de reduction mais sur le HT  quels sont les paramètres exacts pour avoir la reduction voulue sur le prix final des produits (TTC pour France et HT pour les DOM TOM) ?  pour l'instant les clients appellent pour dire que les prix sont faux  je ne comprend d'ailleurs pas le role de discount&#95;tax&#95;id puisqu'en principe une reduction est calculée HT ou TTC mais sur le prix du produit qui a deja un tax&#95;id  merci")*

Bonjour,

Dans certains pays, les coupons doivent être taxés avec un certain pourcentage, ou alors ne doivent pas changer le montant de taxe.
C'est pour cela qu'il y a ce système, qui permet de configurer les coupons pour gérer les différents modes de calculs.

Faites cette modification (qui sera dans la prochaine version) pour avoir le calcul sur le TTC:
[ www.hikashop.com/forum/discount-coupon/8...-working.html#209112](http://www.hikashop.com/forum/discount-coupon/875841-coupon-minimum-order-value-not-working.html#209112)

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

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

Less More

- Posts: 2705
- Thank you received: 74
-
-

11 years 2 months ago [\#213312](#213312) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  Replied by *[erickb](/forum/user/4069-erickb "View erickb's Profile")* on topic *[coupon € vs % résultat different](/forum/5-support-en-francais-french-support-/879094-coupon-eur-vs-resultat-different#213312 "-- HikaShop version -- : 250 -- Joomla version -- : 343  Bonjour  nous avons une seule taxe = 20 % dans l'admin d'hikashop : appliquer la reduction après les taxes  je cree un coupon de type 10€ (taxe par defaut) -&gt; j'ai 10€ de reduction je cree un coupon de type 10% (taxe par defaut) -&gt; j'ai bien 10% de reduction mais sur le HT  quels sont les paramètres exacts pour avoir la reduction voulue sur le prix final des produits (TTC pour France et HT pour les DOM TOM) ?  pour l'instant les clients appellent pour dire que les prix sont faux  je ne comprend d'ailleurs pas le role de discount&#95;tax&#95;id puisqu'en principe une reduction est calculée HT ou TTC mais sur le prix du produit qui a deja un tax&#95;id  merci")*

donc dans administrator/components/com_hikashop/classes/discount.php ligne 307
je remplace ?
if(!$discount_before_tax)
par
if($discount_before_tax)

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 2 months ago [\#213315](#213315) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[coupon € vs % résultat different](/forum/5-support-en-francais-french-support-/879094-coupon-eur-vs-resultat-different#213315 "-- HikaShop version -- : 250 -- Joomla version -- : 343  Bonjour  nous avons une seule taxe = 20 % dans l'admin d'hikashop : appliquer la reduction après les taxes  je cree un coupon de type 10€ (taxe par defaut) -&gt; j'ai 10€ de reduction je cree un coupon de type 10% (taxe par defaut) -&gt; j'ai bien 10% de reduction mais sur le HT  quels sont les paramètres exacts pour avoir la reduction voulue sur le prix final des produits (TTC pour France et HT pour les DOM TOM) ?  pour l'instant les clients appellent pour dire que les prix sont faux  je ne comprend d'ailleurs pas le role de discount&#95;tax&#95;id puisqu'en principe une reduction est calculée HT ou TTC mais sur le prix du produit qui a deja un tax&#95;id  merci")*

Bonjour,

Oui, c'est bien ce que j'ai écris de faire.
[ www.hikashop.com/forum/discount-coupon/8...html?start=20#209112](http://www.hikashop.com/forum/discount-coupon/875841-coupon-minimum-order-value-not-working.html?start=20#209112)

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODc5MDk0LWNvdXBvbi1ldXItdnMtcmVzdWx0YXQtZGlmZmVyZW50P3RtcGw9bWFya2Rvd24=) 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.063 seconds

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