Language override "The Cart Is Empty"

  • Posts: 117
  • Thank you received: 6
3 years 6 months ago #324983

-- url of the page with the problem -- : kivohondenvoer.nl/vers-vlees/product/kivo-rund-500-gram
-- HikaShop version -- : 4.4
-- Joomla version -- : 3.9.22
-- PHP version -- : 7.4
-- Browser(s) name and version -- : all

Hello, Good morning

I am puzzled.

I have the hikashop cart module published: top_right
kivohondenvoer.nl/vers-vlees/product/kivo-rund-500-gram

The message is: "The cart is empty"
The (Dutch) language override does not work here
In the module is an option for an "emty message"
I have changed this to:
<i class="fa fa-shopping-cart" aria-hidden="true"></i> Uw winkelwagen is nog leeg
This effects the dropdown, but not the module message

Even if I hack the GB-gb language file it does not effect this string.

My question: where does this string come from?

puzzled

Dick

Attachments:

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

  • Posts: 81511
  • Thank you received: 13066
  • MODERATOR
3 years 5 months ago #324989

Hi,

If I look at the HTML of the cart module there, I can see both the english and the dutch messages:
monosnap.com/file/KRv6b7ffafJwqF2iQ4lUrOBC2vUktm
And I can also see extra HTML tags and classes that aren't there by default in the HikaShop cart module.
So I suppose that the cart module view has been customized by your template provider with their own translation string (supposing it's not in hard in the view override).
So I'm afraid you'll have to check what to do with your template provider so that they can provide the best method to change that text for different languages.
Ideally, it would be better that they just reuse the text from the option and/or the text from the translation key of HikaShop instead of having their own.

The following user(s) said Thank You: Formidog

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

  • Posts: 117
  • Thank you received: 6
3 years 5 months ago #325003

THANK YOU Nicolas,

I will put this too at the desk of the template provider

:-(

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

Time to create page: 0.066 seconds
Powered by Kunena Forum