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

#   Afficher "En promotion' si produit est en promotion.

##

- **Laurentfrom47**
- ![Laurentfrom47's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg) Topic Author

Less More

- Thank you received: 0
-
-

7 years 2 months ago [\#310549](#310549) by Laurentfrom47  *[Afficher "En promotion' si produit est en promotion.](/forum/5-support-en-francais-french-support-/898224-afficher-en-promotion-si-produit-est-en-promotion#310549 "Bonsoir,  Je souhaite afficher à coté du titre du produit un label En Promotion si ce produit a une promotion bien sur ?  Merci.")* was created by *Laurentfrom47*

Bonsoir,

Je souhaite afficher à coté du titre du produit un label En Promotion si ce produit a une promotion bien sur ?

Merci.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODk4MjI0LWFmZmljaGVyLWVuLXByb21vdGlvbi1zaS1wcm9kdWl0LWVzdC1lbi1wcm9tb3Rpb24/dG1wbD1tYXJrZG93bg==) 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: 86581
- Thank you received: 14322
-
-

7 years 2 months ago [\#310569](#310569) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Afficher "En promotion' si produit est en promotion.](/forum/5-support-en-francais-french-support-/898224-afficher-en-promotion-si-produit-est-en-promotion#310569 "Bonsoir,  Je souhaite afficher à coté du titre du produit un label En Promotion si ce produit a une promotion bien sur ?  Merci.")*

Bonjour,

Alors je peux vous proposer deux choses:
- Vous pouvez créer un badge "promo" via le menu Produits&gt;Badges avec les réductions de votre site sélectionnées dans l'option "réduction". Le badge s'affichera automatiquement sur l'image du produit sur la page produit.
[ www.hikashop.com/support/documentation/1...p-badge-listing.html](https://www.hikashop.com/support/documentation/130-hikashop-badge-listing.html)
- Si vous voulez vraiment un label à coté du nom du produit, alors il va falloir éditer le fichier "show_default" de la vue "product" via le menu Affichage&gt;Vues.
Dans le code, vous pouvez rajouter quelque chose de ce genre: Code:

&lt;?php if( !empty($this-&gt;element-&gt;discount)) { echo 'Mon label'; } ?&gt;

The following user(s) said Thank You: Laurentfrom47

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

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