remedies for burn

  • Posts: 90
  • Thank you received: 2
  • Hikashop Business
4 years 6 months ago #318937

-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.18
-- PHP version -- : 7.3

Hello Hikashop,

The translation is wrong on the customer portal if you want to add a new shopping cart. It is now > Nieuw adres.
If I change it to Nieuwe winkelwagen. What should be the right translation it also changes in the checkout where it should be
Nieuw adres. So the constant should be not the same for this name. Can you change that or can I change that somewhere?

Also, what is the use of making a new shopping cart? It is a empty shopping cart. I can't find any documentation on this.

Regards,
Raoul

Attachments:

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

  • Posts: 82867
  • Thank you received: 13373
  • MODERATOR
4 years 6 months ago #318941

Hi,

That's because the translation key there is just "new". So if you can't set it to "new something" as it wouldn't work for all the places with that same translation key used on buttons to create other new things.
To avoid that, a solution could be to have two different translation keys for each of these buttons. But then it requires translation files to be updated for all these new translations.
Now for your own shop, it's relatively easier as you don't care about the translation files of the 40+ languages HikaShop supports.
So you can edit the file cart / listing.php and add at the top such code:

<?php if(!empty($this->toolbar['new'])) $this->toolbar['new']['name'] = JText::_('XXX');
where XXX is the translation key of the text you want for the new button of the carts listing. And then you can add that XXX translation key in each language files override area in the Languages tab of the HikaShop configuration.
Creating new carts is useful so that customers can have different carts and switch from one to the other. For example, they prepare a cart for their christmas gifts , another one for what they want to purchase next week and a third one for their birthday gifts.
For most customers, I'm sure one cart is enough for them. And even for most shops. But for shops like Amazon, it makes sense to be able to build several lists of products you would like to buy.

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

Time to create page: 0.055 seconds
Powered by Kunena Forum