Random product name modified for versions and translations

  • Posts: 71
  • Thank you received: 2
  • Hikashop Business
2 weeks 10 hours ago #312681

-- HikaShop version -- : 4.2.2
-- Joomla version -- : 3.9.10 and above
-- PHP version -- : 7.xxx
-- Browser(s) name and version -- : all
-- Error-message(debug-mod must be tuned on) -- : No error, other problems

We encountered a problem with the products: a couple of weeks ago, we noticed that some products appear in the order with changed names. Not all the products, but random ones.
As we use variants and translations, we noticed that for some of them, things gone crazy.
Usually, we are leaving the variant and translation names empty. There are some filled, but not many.
This way, the main product name name is transmitted to the variant, followed by the variant name.
Now, we started to found product variant names filled with the variant name itself, randomly in a language, but sometimes in the main language too.
For example:, if product name is : PRODUCT NAME, and we have a variant: 500ml, then even if the product name was left blank in the MAIN OPTIONS TAB, we found there, from nowhere, written 500ml.
More then this, today we found the blank space filled with the product picture name, for each variant.
For example, if the product picture for 500ml was PRODUCT_PICTURE_500ML, then in the MAIN OPTIONS for the 500ml variant, we found written PRODUCT_PICTURE_500ML.

Of course, wecorrected those problems (where we could) by deleting them, but we can show you some orders with this issue, wich we can discover only manually, or maybe looking into the database, do not know yet.

Also, and this is an older problem, if a product name for a variant is filled with a descriptor, and this is true mainly for translations, if we simply want to delete it, we can not. We need to replace it with something.
For example, if in the ro-RO or en-GB NAME field in the MAIN OPTIONS for a variant we wrote let say, RO_NAME, or EN_NAME, if we want now to let it now, we simply can not do it. Of course, we can delete, save, but after reopening, the name is there again.

Also, we would need to remove some languages (working with Falang) safely. Still, we do not know how to do it. In the past we tried, and encountered many problems. I do not remember now all of them, but they were. Maybe you can advice this too, or point us to some resouce we missed.

Thank you.
Paul

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

  • Posts: 67389
  • Thank you received: 9992
  • MODERATOR
2 weeks 3 hours ago #312686

Hi,

Well, without precise information in the issue I can't say much.
However, note that with HikaShop 4.2.2, we've added the possibility to translate product names and variant names with translation overrides.
So when you have some text in a product name or a variant name, HikaShop will try to fine a translation with the same key as the name of the product/variant and if found, it will replace it with the corresponding translation.
So if you have added a translation like that:

TEST="<img src='myimageurl'/>"
and you have a product name with the text "test", then after the update to the 4.2.2, the "test" product name would be changed to the img tag of the translation while this wasn't the case before.
So it's possible that this improvement could explain some of the strange behavior you described.

If you want to remove translations made with Falang, you need to go in the menu Components>Falang>Translations, search for the translations in the language you want and disable or delete the entries. I'm not aware of an issue with that feature of Falang. If you find an issue with it, you should check with the support of Falang.

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

  • Posts: 71
  • Thank you received: 2
  • Hikashop Business
1 week 6 days ago #312697

Thank you Nicolas for answer.
However, I do not know how and where to add the translation like the one you shown.
We added the translations manually, for all the items.
Rigt now I searched for such strings directly in Falang. Normally we would work directly in HikaShop to insert translations. This is useful as we identified all the problematic products, and modified them.
However, those strings are not only in the translations, but in the variant names, wich we left blank.
My question is now:
Will this happen permanently? I mean, we have not set some command string like you shown previously, so we would like to know when and how and why this new improvement, will make its own ... stuff, as now we will modify all the bugs and we do not want them to appear again.

Thank you,
Paul

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

  • Posts: 67389
  • Thank you received: 9992
  • MODERATOR
1 week 6 days ago #312700

Hi,

What I was explaining was indeed only if you had custom translation overrides. If you don't and only use Falang for translations, this indeed I don't think it comes from that.
But then, I don't see why text would be randomly modified.

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

  • Posts: 71
  • Thank you received: 2
  • Hikashop Business
1 week 6 days ago #312719

Indeed, we do not understand either. Also, it may be a Falang problem, still, the only updates were for HikaShop later, so this was why we contacted you. About the reason, well, I can not think anything but a bug, hehe....
We identified the problem products, and modified them.
If something appears again, we will come back and let you know.

Thank you,
Paul

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

Time to create page: 0.062 seconds
Powered by Kunena Forum