Only display "Cart Module" if it contains items

  • Posts: 58
  • Thank you received: 2
8 years 8 months ago #232679

-- 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.

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
8 years 8 months ago #232680

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.

  • Posts: 58
  • Thank you received: 2
8 years 8 months ago #232795

Hi this does not hid the module from the page.

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
8 years 8 months ago #232797

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