Mini Cart Display

  • Posts: 24
  • Thank you received: 0
7 years 1 month ago #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

CART_EMPTY=""
MINI_CART_PROCEED_TO_CHECKOUT="<img src='images/-----/cart.png'/>"
TOTAL_IN_CART_X="<img src='images/-----/cart.png'/>"
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.

Attachments:
Last edit: 7 years 1 month ago by Jerome. Reason: [code] tag is nice

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 1 month ago #280023

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
The cart module is under the view "product / cart".

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Time to create page: 0.055 seconds
Powered by Kunena Forum