how to put a conent in Cart area when cart is empty

  • Posts: 43
  • Thank you received: 3
6 months 2 weeks ago #360898

-- HikaShop version -- : 5.0.2
-- Joomla version -- : 5.1.0
-- PHP version -- : 8.1.13
-- Browser(s) name and version -- : firefox

Hi,
Hope u do great.
I need to put content, an image with text to tell customers that their cart is empty more graphically instead of a simple message that says "Your cart is empty".
What should I do to put content in the cart area when it is empty? Is it possible to build a module position and assign a Joomla custom module to it to display the content?

Thanks in advance
Best regards

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
6 months 2 weeks ago #360903

Hi,

You could create a translation override of that text:
www.hikashop.com/download/languages.html#modify
In your translation override, you can add HTML tags so that you can display whatever you want instead of just the default text.
For example:

CART_EMPTY="My content with my HTML<br/> For example, the logo of HikaShop: <img src='https://www.hikashop.com/images/menu/logo_hikashop.png'/>"

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

  • Posts: 43
  • Thank you received: 3
6 months 1 week ago #360922

The simple solution always works better!
Great
Thanks

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

Time to create page: 2.518 seconds
Powered by Kunena Forum