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

#   cacher l'unite

##

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

Less More

- Posts: 113
- Thank you received: 0
-
-

15 years 1 month ago [\#26039](#26039) by [polpaulin](/forum/user/661-polpaulin "View polpaulin's Profile")  *[cacher l'unite](/forum/5-support-en-francais-french-support-/26039-cacher-lunite#26039 "Bonjour  après chaque produit il a l’unité : 10 euro l'unité  j'ai copier dans mon template listing&#95;price.php et ajouté une variable $show&#95;unit = 0;  puis  est ce que cette option existe deja quelque pzart dan sl'admin ?  merci")* was created by *[polpaulin](/forum/user/661-polpaulin "View polpaulin's Profile")*

Bonjour

après chaque produit il a l’unité : 10 euro **l'unité**

j'ai copier dans mon template listing_price.php et ajouté une variable *$show\_unit = 0;*

puis Code:

if($show_unit){ if(isset($price-&gt;price_min_quantity) &amp;&amp; empty($this-&gt;cart_product_price)){ if($price-&gt;price_min_quantity&gt;1){ echo JText::sprintf('PER_UNIT_AT_LEAST_X_BOUGHT',$price-&gt;price_min_quantity); }else{ echo JText::_('PER_UNIT'); } } }

est ce que cette option existe deja quelque pzart dan sl'admin ?

merci

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

Less More

- Posts: 86576
- Thank you received: 14321
-
-

15 years 1 month ago [\#26040](#26040) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: cacher l'unite](/forum/5-support-en-francais-french-support-/26039-cacher-lunite#26040 "Bonjour  après chaque produit il a l’unité : 10 euro l'unité  j'ai copier dans mon template listing&#95;price.php et ajouté une variable $show&#95;unit = 0;  puis  est ce que cette option existe deja quelque pzart dan sl'admin ?  merci")*

Il suffit d"aller dans l'onglet Langues de la configuration et d'override la traduction PER_UNIT=" l'unité"
par PER_UNIT=" " dans la zone d'override de votre fichier de langue. Comme pour n'importe quel texte dans HikaShop.

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

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

Less More

- Posts: 113
- Thank you received: 0
-
-

15 years 1 month ago [\#26041](#26041) by [polpaulin](/forum/user/661-polpaulin "View polpaulin's Profile")  Replied by *[polpaulin](/forum/user/661-polpaulin "View polpaulin's Profile")* on topic *[Re: cacher l'unite](/forum/5-support-en-francais-french-support-/26039-cacher-lunite#26041 "Bonjour  après chaque produit il a l’unité : 10 euro l'unité  j'ai copier dans mon template listing&#95;price.php et ajouté une variable $show&#95;unit = 0;  puis  est ce que cette option existe deja quelque pzart dan sl'admin ?  merci")*

ok en ce cas il vaut mieux une variable , est ce pareil pour hikashop_product_stock_count ?

merci

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

Less More

- Posts: 86576
- Thank you received: 14321
-
-

15 years 1 month ago [\#26050](#26050) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: cacher l'unite](/forum/5-support-en-francais-french-support-/26039-cacher-lunite#26050 "Bonjour  après chaque produit il a l’unité : 10 euro l'unité  j'ai copier dans mon template listing&#95;price.php et ajouté une variable $show&#95;unit = 0;  puis  est ce que cette option existe deja quelque pzart dan sl'admin ?  merci")*

Oui, c'est pareil. C'est dans le fichier quantity de la vue product.

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

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

Less More

- Posts: 113
- Thank you received: 0
-
-

15 years 1 month ago [\#26065](#26065) by [polpaulin](/forum/user/661-polpaulin "View polpaulin's Profile")  Replied by *[polpaulin](/forum/user/661-polpaulin "View polpaulin's Profile")* on topic *[Re: cacher l'unite](/forum/5-support-en-francais-french-support-/26039-cacher-lunite#26065 "Bonjour  après chaque produit il a l’unité : 10 euro l'unité  j'ai copier dans mon template listing&#95;price.php et ajouté une variable $show&#95;unit = 0;  puis  est ce que cette option existe deja quelque pzart dan sl'admin ?  merci")*

merci

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

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