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

#   Mini Cart Display

##

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

Less More

- Posts: 24
- Thank you received: 0
-
-

9 years 1 month ago -  9 years 1 month ago [\#279994](#279994) by [gojyuan](/forum/user/47476-gojyuan "View gojyuan's Profile")  *[Mini Cart Display](/forum/27-checkout/892261-mini-cart-display#279994 "-- url of the page with the problem -- :   www.ryokangojyuan.com/  -- HikaShop version -- : 3.2.0 -- Joomla version -- : 3.7.5 -- PHP version -- : 5.6.3.1  Hi, My site is primarily accommodation and workshops and I have a menu option for an online shop for my workshop presenters.  The shopping cart is only shown on the shop menu option but I wanted to display a mini cart icon on the menu item position ( simply cart only ) for all menus so users can see if they have added something to the cart but have moved to another menu option.  I have overridden the language constants for the following items  The minicart icon displays on all menus (image1 and image2), but if I am on any submenu from my shop menu which is a hikashop products listing ( image3), it does not display. Also if I add to cart on this same menu the icon is not displayed. Am I missing a language directive? Can I have two cart modules displaying on the same page?  Thank you.")* was created by *[gojyuan](/forum/user/47476-gojyuan "View gojyuan's Profile")*

-- url of the page with the problem -- : [ www.ryokangojyuan.com/](https://www.ryokangojyuan.com/)
-- HikaShop version -- : 3.2.0
-- Joomla version -- : 3.7.5
-- PHP version -- : 5.6.3.1

Hi,
My site is primarily accommodation and workshops and I have a menu option for an online shop for my workshop presenters.

The shopping cart is only shown on the shop menu option but I wanted to display a mini cart icon on the menu item position ( simply cart only ) for all menus so users can see if they have added something to the cart but have moved to another menu option.

I have overridden the language constants for the following items Code:

CART_EMPTY="" MINI_CART_PROCEED_TO_CHECKOUT="&lt;img src='images/-----/cart.png'/&gt;" TOTAL_IN_CART_X="&lt;img src='images/-----/cart.png'/&gt;"

The minicart icon displays on all menus (image1 and image2), but if I am on any submenu from my shop menu which is a hikashop products listing ( image3), it does not display. Also if I add to cart on this same menu the icon is not displayed. Am I missing a language directive? Can I have two cart modules displaying on the same page?

Thank you.

- [ ![image1.jpg](/forum/attachment/40776) ](/forum/attachment/40776 "image1.jpg") [ ](/forum/attachment/40776?download=1 "image1.jpg")
- [ ![image2.jpg](/forum/attachment/40777) ](/forum/attachment/40777 "image2.jpg") [ ](/forum/attachment/40777?download=1 "image2.jpg")
- [ ![image3.jpg](/forum/attachment/40778) ](/forum/attachment/40778 "image3.jpg") [ ](/forum/attachment/40778?download=1 "image3.jpg")

Last edit: 9 years 1 month ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile"). Reason: [code] tag is nice

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MjI2MS1taW5pLWNhcnQtZGlzcGxheT90bXBsPW1hcmtkb3du) 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: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 1 month ago [\#280023](#280023) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Mini Cart Display](/forum/27-checkout/892261-mini-cart-display#280023 "-- url of the page with the problem -- :   www.ryokangojyuan.com/  -- HikaShop version -- : 3.2.0 -- Joomla version -- : 3.7.5 -- PHP version -- : 5.6.3.1  Hi, My site is primarily accommodation and workshops and I have a menu option for an online shop for my workshop presenters.  The shopping cart is only shown on the shop menu option but I wanted to display a mini cart icon on the menu item position ( simply cart only ) for all menus so users can see if they have added something to the cart but have moved to another menu option.  I have overridden the language constants for the following items  The minicart icon displays on all menus (image1 and image2), but if I am on any submenu from my shop menu which is a hikashop products listing ( image3), it does not display. Also if I add to cart on this same menu the icon is not displayed. Am I missing a language directive? Can I have two cart modules displaying on the same page?  Thank you.")*

Hello,

Since you provide a relative path it could have some display issues if your template do not set the "base" element.
I would recommend you to use absolute URL path (so start with a " / ")

Afterwards, the mini cart have now new settings to work in "drop list" mode etc.
We would need more details about how the module are configure in order to understand what you have done and give you advice.

Now if you want to display two cart modules in the same page ; you should rather use a view override to display the image in "mini cart" mode than using a language translation.
Because that translation would affect every element using the translation key.

[ www.hikashop.com/support/documentation/1...-display.html#layout](https://www.hikashop.com/support/documentation/153-customize-the-display.html#layout)
The cart module is under the view "product / cart".

Regards,

---

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

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