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

#   ajouter HT apres le prix hors taxe

##

- **[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: 2697
- Thank you received: 74
-
-

13 years 3 months ago [\#115098](#115098) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  *[ajouter HT apres le prix hors taxe](/forum/5-support-en-francais-french-support-/85642-ajouter-ht-apres-le-prix-hors-taxe#115098 "j'ai mis le prix hors taxe pour tout client hors Europe mais je voudrais ajouter HT apres le prix , le fichier listing&#95;price.php est assez complique a quel endroit on a le prix final et a quel endroit sait on si c'est TTC ou HT ?  merci")* was created by *[erickb](/forum/user/4069-erickb "View erickb's Profile")*

j'ai mis le prix hors taxe pour tout client hors Europe mais je voudrais ajouter HT apres le prix , le fichier listing_price.php est assez complique
a quel endroit on a le prix final et a quel endroit sait on si c'est TTC ou HT ?

merci

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

13 years 3 months ago -  13 years 3 months ago [\#115106](#115106) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[ajouter HT apres le prix hors taxe](/forum/5-support-en-francais-french-support-/85642-ajouter-ht-apres-le-prix-hors-taxe#115106 "j'ai mis le prix hors taxe pour tout client hors Europe mais je voudrais ajouter HT apres le prix , le fichier listing&#95;price.php est assez complique a quel endroit on a le prix final et a quel endroit sait on si c'est TTC ou HT ?  merci")*

Bonjour,

Je pense que cela serai surement possible en modifiant certaine valeur de votre fichier de langue via "*Hikashop-&gt;Système-&gt;Configuration général-&gt;Langue*" : Code:

PRICE_BEGINNING="" PRICE_BEFORE_ORIG=" (" PRICE_AFTER_ORIG=") " PRICE_DISCOUNT_START="" PRICE_DISCOUNT_END="" PRICE_BEFORE_TAX=" (" PRICE_AFTER_TAX=" Hors Taxes) " PRICE_END="" FREE_PRICE="Gratuit" PRICE_SEPARATOR="&lt;br/&gt;" PER_UNIT_AT_LEAST_X_BOUGHT=" l'unité pour au moins %s achetés." PER_UNIT=" l'unité"

Last edit: 13 years 3 months ago by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODU2NDItYWpvdXRlci1odC1hcHJlcy1sZS1wcml4LWhvcnMtdGF4ZT90bXBsPW1hcmtkb3du) 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: 2697
- Thank you received: 74
-
-

13 years 3 months ago [\#115141](#115141) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  Replied by *[erickb](/forum/user/4069-erickb "View erickb's Profile")* on topic *[ajouter HT apres le prix hors taxe](/forum/5-support-en-francais-french-support-/85642-ajouter-ht-apres-le-prix-hors-taxe#115141 "j'ai mis le prix hors taxe pour tout client hors Europe mais je voudrais ajouter HT apres le prix , le fichier listing&#95;price.php est assez complique a quel endroit on a le prix final et a quel endroit sait on si c'est TTC ou HT ?  merci")*

je regarde ça

merci

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODU2NDItYWpvdXRlci1odC1hcHJlcy1sZS1wcml4LWhvcnMtdGF4ZT90bXBsPW1hcmtkb3du) 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: 2697
- Thank you received: 74
-
-

13 years 3 months ago -  13 years 3 months ago [\#115397](#115397) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  Replied by *[erickb](/forum/user/4069-erickb "View erickb's Profile")* on topic *[ajouter HT apres le prix hors taxe](/forum/5-support-en-francais-french-support-/85642-ajouter-ht-apres-le-prix-hors-taxe#115397 "j'ai mis le prix hors taxe pour tout client hors Europe mais je voudrais ajouter HT apres le prix , le fichier listing&#95;price.php est assez complique a quel endroit on a le prix final et a quel endroit sait on si c'est TTC ou HT ?  merci")*

Je ne trouve pas comment faire là dedans, le problème c'est de récupérer l'adresse de l'utilisateur connecté dans listing_price.php pour savoir si on met HT ou non, le prix est affiche correctement mais cet te info sur l'utilisateur est ailleurs

A quel endroit et comment Hikashop sait dans le listing des produits que l'utilisateur courant paye avec taxe ou HT ?

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

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 3 months ago [\#115423](#115423) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[ajouter HT apres le prix hors taxe](/forum/5-support-en-francais-french-support-/85642-ajouter-ht-apres-le-prix-hors-taxe#115423 "j'ai mis le prix hors taxe pour tout client hors Europe mais je voudrais ajouter HT apres le prix , le fichier listing&#95;price.php est assez complique a quel endroit on a le prix final et a quel endroit sait on si c'est TTC ou HT ?  merci")*

Bonjour,

Pour savoir si un utilisateur paie avec ou sans taxe cela dépend du VAT number si je ne m'abuse.
Dans la vue "listing_price" il est possible de récupérer les informations de l'utilisateur via la fonction "hikashop_loadUser(true);"

Regardez donc ce que contient l'object $userFull, récupéré avec le code: $userFull = hikashop_loadUser(true);
Et en fonction de son VAT affichez ou pas le texte "HT" après le prix.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODU2NDItYWpvdXRlci1odC1hcHJlcy1sZS1wcml4LWhvcnMtdGF4ZT90bXBsPW1hcmtkb3du) 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: 2697
- Thank you received: 74
-
-

13 years 3 months ago -  13 years 3 months ago [\#115436](#115436) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  Replied by *[erickb](/forum/user/4069-erickb "View erickb's Profile")* on topic *[ajouter HT apres le prix hors taxe](/forum/5-support-en-francais-french-support-/85642-ajouter-ht-apres-le-prix-hors-taxe#115436 "j'ai mis le prix hors taxe pour tout client hors Europe mais je voudrais ajouter HT apres le prix , le fichier listing&#95;price.php est assez complique a quel endroit on a le prix final et a quel endroit sait on si c'est TTC ou HT ?  merci")*

> Xavier wrote: Bonjour,
> Pour savoir si un utilisateur paie avec ou sans taxe cela dépend du VAT number si je ne m'abuse.

Dans mon cas non , et normalement pour tout commerçant , tous les pays hors EU et les dom-tom payent HT

> Xavier wrote: Bonjour,
>
> Dans la vue "listing\_price" il est possible de récupérer les informations de l'utilisateur via la fonction "hikashop\_loadUser(true);"
>
> Regardez donc ce que contient l'object $userFull, récupéré avec le code: $userFull = hikashop\_loadUser(true);
> Et en fonction de son VAT affichez ou pas le texte "HT" après le prix.

j'ai fais un
$userFull = hikashop_loadUser(true);
var_dump($userFull);

je ne recupere rien sur le VAT ou son pays

Les prix étant parfaitement affichés hors taxe quand il faut selon l'origine du client il y aune variable récupérée quelque part

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

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 3 months ago [\#115478](#115478) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[ajouter HT apres le prix hors taxe](/forum/5-support-en-francais-french-support-/85642-ajouter-ht-apres-le-prix-hors-taxe#115478 "j'ai mis le prix hors taxe pour tout client hors Europe mais je voudrais ajouter HT apres le prix , le fichier listing&#95;price.php est assez complique a quel endroit on a le prix final et a quel endroit sait on si c'est TTC ou HT ?  merci")*

Le soucis est que pour connaitre le pays du client il faut qu'il ai au préalable saisi son adresse.
A moins d'utiliser le plugin "geolocation" d'Hikashop: [ www.hikashop.com/fr/support/documentatio...hop-geolocation.html](http://www.hikashop.com/fr/support/documentation/76-hikashop-geolocation.html)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODU2NDItYWpvdXRlci1odC1hcHJlcy1sZS1wcml4LWhvcnMtdGF4ZT90bXBsPW1hcmtkb3du) 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: 2697
- Thank you received: 74
-
-

13 years 3 months ago [\#115480](#115480) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  Replied by *[erickb](/forum/user/4069-erickb "View erickb's Profile")* on topic *[ajouter HT apres le prix hors taxe](/forum/5-support-en-francais-french-support-/85642-ajouter-ht-apres-le-prix-hors-taxe#115480 "j'ai mis le prix hors taxe pour tout client hors Europe mais je voudrais ajouter HT apres le prix , le fichier listing&#95;price.php est assez complique a quel endroit on a le prix final et a quel endroit sait on si c'est TTC ou HT ?  merci")*

> Xavier wrote: Le soucis est que pour connaitre le pays du client il faut qu'il ai au préalable saisi son adresse.
> A moins d'utiliser le plugin "geolocation" d'Hikashop: [ www.hikashop.com/fr/support/documentatio...hop-geolocation.html](http://www.hikashop.com/fr/support/documentation/76-hikashop-geolocation.html)

non avec le plugin localisation c'est pas bon car un Francais en voyage peut commander

mais Hikashop est au courant que les prix sont HT puisqu'ils sont bien affichés HT , si je vais dans mon compte et que je change mon adresse &gt; pays pour Canada tout passe en HT si je reviens sur France tout repasse en TTC
il y a une variable recuperable quelque part il suffit de savoir laquelle

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODU2NDItYWpvdXRlci1odC1hcHJlcy1sZS1wcml4LWhvcnMtdGF4ZT90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14267
-
-

13 years 3 months ago [\#115600](#115600) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[ajouter HT apres le prix hors taxe](/forum/5-support-en-francais-french-support-/85642-ajouter-ht-apres-le-prix-hors-taxe#115600 "j'ai mis le prix hors taxe pour tout client hors Europe mais je voudrais ajouter HT apres le prix , le fichier listing&#95;price.php est assez complique a quel endroit on a le prix final et a quel endroit sait on si c'est TTC ou HT ?  merci")*

Les prix sont calculés automatiquement en fonction de l'adresse courante de l'utilisateur.

Pour simplement ajouter HT après le prix si le prix n'a pas de taxes dans listing_price, c'est assez facile. Il suffit d'ajouter cela :
if($price-&gt;price_value_with_tax==$price-&gt;price_value) echo ' HT';
après:
$i++;

En effet, si le prix avec les taxes est égal au prix sans les taxes pour l'utilisateur courant, cela signifie que l'utilisateur est exempté de taxes pour ce produit pour sa localisation.

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODU2NDItYWpvdXRlci1odC1hcHJlcy1sZS1wcml4LWhvcnMtdGF4ZT90bXBsPW1hcmtkb3du) 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: 2697
- Thank you received: 74
-
-

13 years 3 months ago -  13 years 3 months ago [\#115619](#115619) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  Replied by *[erickb](/forum/user/4069-erickb "View erickb's Profile")* on topic *[ajouter HT apres le prix hors taxe](/forum/5-support-en-francais-french-support-/85642-ajouter-ht-apres-le-prix-hors-taxe#115619 "j'ai mis le prix hors taxe pour tout client hors Europe mais je voudrais ajouter HT apres le prix , le fichier listing&#95;price.php est assez complique a quel endroit on a le prix final et a quel endroit sait on si c'est TTC ou HT ?  merci")*

ca marche merci
je l'ai mis avant le i++ pour qu'il soit dans le span
Code:

if($price-&gt;price_value_with_tax==$price-&gt;price_value) { echo JText::_('PRICE_WITHOUT_TAX'); } echo '&lt;/span&gt; '; $i++; }

ca serait une bonne option de plus a avoir dans la config

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODU2NDItYWpvdXRlci1odC1hcHJlcy1sZS1wcml4LWhvcnMtdGF4ZT90bXBsPW1hcmtkb3du) 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: 2697
- Thank you received: 74
-
-

13 years 3 months ago [\#115783](#115783) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  Replied by *[erickb](/forum/user/4069-erickb "View erickb's Profile")* on topic *[ajouter HT apres le prix hors taxe](/forum/5-support-en-francais-french-support-/85642-ajouter-ht-apres-le-prix-hors-taxe#115783 "j'ai mis le prix hors taxe pour tout client hors Europe mais je voudrais ajouter HT apres le prix , le fichier listing&#95;price.php est assez complique a quel endroit on a le prix final et a quel endroit sait on si c'est TTC ou HT ?  merci")*

il me faut aussi ces infos dans le cart du checkout et partout , ainsi que dans les emails de notification pour leur indiquer qu'ils payent HT
comment récupérer ça partout où c'est nécessaire ?

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 3 months ago [\#115818](#115818) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[ajouter HT apres le prix hors taxe](/forum/5-support-en-francais-french-support-/85642-ajouter-ht-apres-le-prix-hors-taxe#115818 "j'ai mis le prix hors taxe pour tout client hors Europe mais je voudrais ajouter HT apres le prix , le fichier listing&#95;price.php est assez complique a quel endroit on a le prix final et a quel endroit sait on si c'est TTC ou HT ?  merci")*

Il faut donc apporter cette modification aux divers endroits.

Le prix peut etre retrouvé facilement, il sera surement contenu dans un objet php.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODU2NDItYWpvdXRlci1odC1hcHJlcy1sZS1wcml4LWhvcnMtdGF4ZT90bXBsPW1hcmtkb3du) 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: 2697
- Thank you received: 74
-
-

13 years 3 months ago [\#115821](#115821) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  Replied by *[erickb](/forum/user/4069-erickb "View erickb's Profile")* on topic *[ajouter HT apres le prix hors taxe](/forum/5-support-en-francais-french-support-/85642-ajouter-ht-apres-le-prix-hors-taxe#115821 "j'ai mis le prix hors taxe pour tout client hors Europe mais je voudrais ajouter HT apres le prix , le fichier listing&#95;price.php est assez complique a quel endroit on a le prix final et a quel endroit sait on si c'est TTC ou HT ?  merci")*

if($price-&gt;price_value_with_tax==$price-&gt;price_value) {
echo JText::_('PRICE_WITHOUT_TAX');
}

ne passera pas partout , dans les emails etc... c'est un travail de fourmi pour un truc qui devrait etre en natif

si $price n'est pas declare ca va planter

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

13 years 3 months ago [\#115890](#115890) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[ajouter HT apres le prix hors taxe](/forum/5-support-en-francais-french-support-/85642-ajouter-ht-apres-le-prix-hors-taxe#115890 "j'ai mis le prix hors taxe pour tout client hors Europe mais je voudrais ajouter HT apres le prix , le fichier listing&#95;price.php est assez complique a quel endroit on a le prix final et a quel endroit sait on si c'est TTC ou HT ?  merci")*

Bonjour,

> Xavier wrote: Il faut donc apporter cette modification aux divers endroits.
>
> **Le prix peut etre retrouvé facilement, il sera surement contenu dans un objet php.**

Comme Xavier l'a dit, le prix ne sera pas forcement contenu uniquement dans price mais dans différent objets en fonctions de l'endroit ou l'on modifie le code.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODU2NDItYWpvdXRlci1odC1hcHJlcy1sZS1wcml4LWhvcnMtdGF4ZT90bXBsPW1hcmtkb3du) 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: 2697
- Thank you received: 74
-
-

13 years 3 months ago [\#115891](#115891) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  Replied by *[erickb](/forum/user/4069-erickb "View erickb's Profile")* on topic *[ajouter HT apres le prix hors taxe](/forum/5-support-en-francais-french-support-/85642-ajouter-ht-apres-le-prix-hors-taxe#115891 "j'ai mis le prix hors taxe pour tout client hors Europe mais je voudrais ajouter HT apres le prix , le fichier listing&#95;price.php est assez complique a quel endroit on a le prix final et a quel endroit sait on si c'est TTC ou HT ?  merci")*

d'accord mais concrètement comment on fait pour savoir partout que le prix est HT , cette valeur est bien récupérée partout puisque le prix est correct partout

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODU2NDItYWpvdXRlci1odC1hcHJlcy1sZS1wcml4LWhvcnMtdGF4ZT90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14267
-
-

13 years 3 months ago [\#115894](#115894) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[ajouter HT apres le prix hors taxe](/forum/5-support-en-francais-french-support-/85642-ajouter-ht-apres-le-prix-hors-taxe#115894 "j'ai mis le prix hors taxe pour tout client hors Europe mais je voudrais ajouter HT apres le prix , le fichier listing&#95;price.php est assez complique a quel endroit on a le prix final et a quel endroit sait on si c'est TTC ou HT ?  merci")*

Cherchez $currencyHelper-&gt;format dans le code et vous trouverez le code à utiliser.

Par example, dans listing_price de checkout, c'est la même variable d'utilisé:
$price-&gt;price_value_with_tax

Donc c'est le même code.

Pour le order status notification c'est:
$item-&gt;order_product_price+$item-&gt;order_product_tax

donc là il suffit de vérifier si $item-&gt;order_product_tax est supérieur à 0 ou pas dans votre condition.

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODU2NDItYWpvdXRlci1odC1hcHJlcy1sZS1wcml4LWhvcnMtdGF4ZT90bXBsPW1hcmtkb3du) 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: 2697
- Thank you received: 74
-
-

13 years 2 months ago -  13 years 2 months ago [\#116346](#116346) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  Replied by *[erickb](/forum/user/4069-erickb "View erickb's Profile")* on topic *[ajouter HT apres le prix hors taxe](/forum/5-support-en-francais-french-support-/85642-ajouter-ht-apres-le-prix-hors-taxe#116346 "j'ai mis le prix hors taxe pour tout client hors Europe mais je voudrais ajouter HT apres le prix , le fichier listing&#95;price.php est assez complique a quel endroit on a le prix final et a quel endroit sait on si c'est TTC ou HT ?  merci")*

ce serait vraiment une option utile dans la config d'Hikashop afficher ou non HT, là c'est vraiment un jeu de piste
dans order_creation_notification.html.php je veux dans le e total final marquer HT et marquer une phrase de rappel pour que le client comprenne bien qu'il a paye HT

dans cart.php il y a
$taxes = round($this-&gt;full_total-&gt;prices[0]-&gt;price_value_with_tax-$this-&gt;full_total-&gt;prices[0]-&gt;price_value,$this-&gt;currencyHelper-&gt;getRounding($this-&gt;full_total-&gt;prices[0]-&gt;price_currency_id));

donc si $taxes == 0 on sait qu'il n'y en a pas il n'y a pas cette variable pratique dans order_creation_notification.html.php qui est le cart envoye au client

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

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 2 months ago [\#116447](#116447) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[ajouter HT apres le prix hors taxe](/forum/5-support-en-francais-french-support-/85642-ajouter-ht-apres-le-prix-hors-taxe#116447 "j'ai mis le prix hors taxe pour tout client hors Europe mais je voudrais ajouter HT apres le prix , le fichier listing&#95;price.php est assez complique a quel endroit on a le prix final et a quel endroit sait on si c'est TTC ou HT ?  merci")*

Dans le mail "order_creation_notification" le prix total avec taxe est dans la variable:
$data-&gt;cart-&gt;full_total-&gt;prices[0]-&gt;price_value_with_tax
et sans taxes dans:
$data-&gt;cart-&gt;full_total-&gt;prices[0]-&gt;price_value

Donc si $data-&gt;cart-&gt;full_total-&gt;prices[0]-&gt;price_value_with_tax == $data-&gt;cart-&gt;full_total-&gt;prices[0]-&gt;price_value alors le client paie sans taxes et vous pouvez afficher "HT".

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODU2NDItYWpvdXRlci1odC1hcHJlcy1sZS1wcml4LWhvcnMtdGF4ZT90bXBsPW1hcmtkb3du) 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: 2697
- Thank you received: 74
-
-

13 years 2 months ago [\#116448](#116448) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  Replied by *[erickb](/forum/user/4069-erickb "View erickb's Profile")* on topic *[ajouter HT apres le prix hors taxe](/forum/5-support-en-francais-french-support-/85642-ajouter-ht-apres-le-prix-hors-taxe#116448 "j'ai mis le prix hors taxe pour tout client hors Europe mais je voudrais ajouter HT apres le prix , le fichier listing&#95;price.php est assez complique a quel endroit on a le prix final et a quel endroit sait on si c'est TTC ou HT ?  merci")*

merci

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

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

[](#top)
