BUG in Language Override for Products With Characteristics

  • Posts: 284
  • Thank you received: 6
5 years 7 months ago #298203

-- url of the page with the problem -- : www.kapitisummerschool.co.nz
-- HikaShop version -- : 3.5.1
-- Joomla version -- : 3.8.12

For a school client I was able to change the language override for X_ITEMS_IN_STOCK from "%s item in stock" to "%s Spaces Available".
BUT this only works for products that do NOT have any characteristics added.

Here is a single product. Override works fine:
www.kapitisummerschool.co.nz/adult-cours.../category_pathway-12

But products with Characteristics still show: "%s item in stock", which is not acceptable for the client.
Example:
www.kapitisummerschool.co.nz/adult-cours.../category_pathway-15
Also, if you change the "Blacksmithing Course Dates" you will see that the wording changes from ITEMS to SPACES AVAILABLE depending on which course is selected.
I don't understand why this is changing.

I cannot find ANY additional language override for this in order to change it. I cannot find where the words are coming from.

Any ideas?

Thank you.

Last edit: 5 years 7 months ago by MSTACE.

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

  • Posts: 284
  • Thank you received: 6
5 years 7 months ago #298207

I found the language in en-GB.com_hikashop.ini

This language is different than the single product item: X_ITEM_IN_STOCK versus X_ITEMS_IN_STOCK

This file is not being seen by the override system.
Bug or design?

Last edit: 5 years 7 months ago by MSTACE.

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

  • Posts: 81511
  • Thank you received: 13066
  • MODERATOR
5 years 7 months ago #298209

Hi,

I can't access your links: monosnap.com/file/DIawiezG5U8GVrUkQIrs5LkQqI0DnK
And yes, you have two translations you need to change: X_ITEMS_IN_STOCK and X_ITEM_IN_STOCK
It you changed only one, it could explain why you get the override some times and not some others.

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

  • Posts: 284
  • Thank you received: 6
5 years 7 months ago #298223

Yes, the firewall has blocked your country for too many hacking attempts.
As I found that other translation I got it to work now.

It is just odd that the second translation cannot be found using the Language Override.
I had to edit the file manually.

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

Time to create page: 0.059 seconds
Powered by Kunena Forum