Skip to main content

Only display "Cart Module" if it contains items

10 years 8 months ago #232679 by rcadmin
-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.4.8

Is it possible to only have the Cart Module show if there are items in the cart?

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

10 years 8 months ago #232680 by nicolas
Hi,

Yes it's possible.
Just create a translation override like that:
CART_EMPTY=""
and that should do it.
www.hikashop.com/download/languages.html#modify
The following user(s) said Thank You: rcadmin

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

10 years 8 months ago #232795 by rcadmin
Hi this does not hid the module from the page.

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

10 years 8 months ago #232797 by nicolas
Hi,

If the HTML of the module is empty, which would be the case with that text removed, the template should normally not display the chrome around the module position.
If that's not the case, then there might be a problem with the way the template handle that.

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

Time to create page: 0.049 seconds
Powered by Kunena Forum