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

#   Cart number of product notification

##

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

Less More

- Posts: 370
- Thank you received: 28
-
-
- [](https://web-ressources.ch)
-

4 years 5 months ago [\#342060](#342060) by [thefbi](/forum/user/65220-thefbi "View thefbi's Profile")  *[Cart number of product notification](/forum/50-feature-request/904489-cart-number-of-product-notification#342060 "-- HikaShop version -- : 4.5.1 -- Joomla version -- : 4.1.4 -- PHP version -- : 8.0  Hi, Is there a &quot;easy&quot; way to have a number of products notification to the cart module position ? Just like in this screenshot ?  The goal is to have just an image for the cart (no text) and a way to know when there is products inside.  Regards.")* was created by *[thefbi](/forum/user/65220-thefbi "View thefbi's Profile")*

-- HikaShop version -- : 4.5.1
-- Joomla version -- : 4.1.4
-- PHP version -- : 8.0

Hi,
Is there a "easy" way to have a number of products notification to the cart module position ?
Just like in this screenshot ?
[ ![2022-05-31&#95;14-30-42.jpg](/forum/attachment/54912) ](/forum/attachment/54912 "...1&#95;14-30-42.jpg")

The goal is to have just an image for the cart (no text) and a way to know when there is products inside.

Regards.

---

“Si tu ne travaille pas pour tes rêves, quelqu'un t'embauchera pour travailler pour les siens" - Steeve Jobs
"La sagesse, c’est d’avoir des rêves suffisamment grands pour ne pas les perdre de vue quand on les poursuit." - Oscar Wilde

- [ ![2022-05-31&#95;14-30-42.jpg](/forum/attachment/54912) ](/forum/attachment/54912 "...1&#95;14-30-42.jpg") [ ](/forum/attachment/54912?download=1 "...1&#95;14-30-42.jpg")

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

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

Less More

- Posts: 370
- Thank you received: 28
-
-
- [](https://web-ressources.ch)
-

4 years 5 months ago -  4 years 5 months ago [\#342061](#342061) by [thefbi](/forum/user/65220-thefbi "View thefbi's Profile")  Replied by *[thefbi](/forum/user/65220-thefbi "View thefbi's Profile")* on topic *[Cart number of product notification](/forum/50-feature-request/904489-cart-number-of-product-notification#342061 "-- HikaShop version -- : 4.5.1 -- Joomla version -- : 4.1.4 -- PHP version -- : 8.0  Hi, Is there a &quot;easy&quot; way to have a number of products notification to the cart module position ? Just like in this screenshot ?  The goal is to have just an image for the cart (no text) and a way to know when there is products inside.  Regards.")*

I have my answer.
I use the parameter product quantity in the cart module config.
After that, i go to translation and i just modify : Code:

X_ITEM_FOR_X="%s produit pour %s" X_ITEMS_FOR_X="%s produits pour %s"

To Code:

X_ITEM_FOR_X="&lt;img src='https://MY_SITE/images/panier2.jpg' class='cart_icon'/&gt;%s" X_ITEMS_FOR_X="&lt;img src='https://MY_SITE/images/panier2.jpg' class='cart_icon'/&gt;%s"

---

“Si tu ne travaille pas pour tes rêves, quelqu'un t'embauchera pour travailler pour les siens" - Steeve Jobs
"La sagesse, c’est d’avoir des rêves suffisamment grands pour ne pas les perdre de vue quand on les poursuit." - Oscar Wilde

Last edit: 4 years 5 months ago by [thefbi](/forum/user/65220-thefbi "View thefbi's Profile").

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

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

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