Skip to main content

Description is "undefined"

2 weeks 6 days ago #100000288 by Sandra74
-- url of the page with the problem -- : www.jewelrygoldfinger.com/fr/joaillerie/dinh-van/dv-235504
-- HikaShop version -- : 6.6.0
-- Joomla version -- : ‎6.2.0
-- PHP version -- : 8.4.24
-- Browser(s) name and version -- : Firefox 159.0

Good morning, 

Even if my product has a description in both languages, on the front end it mentions "undefined", but I don't know why.
Other products are ok.

Any idea why the description is not displayed?

Thanks in advance for your help.

Sandra

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

2 weeks 6 days ago #100000289 by nicolas
Replied by nicolas on topic Description is "undefined"
The text "undefined" doesn't come from the product's description. It comes from the description of its variant (the "M" variant of this ring), which holds the word "undefined". On the product page, a variant that has its own description shows it instead of the main product's description. That's why the text appears in both languages even though the product itself is correctly filled in.

We found how this word can end up there. When a variant is saved, or the product is saved while a variant is open in its edition area, in the second or so while the variant's description editor is still loading (with JCE in particular), the editor returns nothing and HikaShop saved the word "undefined" in place of the description. We have corrected this for a coming version.

To fix your product now: edit the product in the backend, open the M variant in the Variants tab, wait until its description editor has fully loaded, delete the "undefined" text (leave the description empty so the variant uses the main product's description, or type the description you want for that variant), and save the variant. If you entered translations for that variant, check them too.

Until the corrected version is installed, simply wait a moment after opening a variant, until its editor is displayed, before saving it or the product.
The following user(s) said Thank You: Sandra74

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

2 weeks 6 days ago #100000290 by Sandra74
Replied by Sandra74 on topic Description is "undefined"
Thanks a lot Nicolas for your help.
My description is now displayed.

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

Time to create page: 0.069 seconds
Powered by Kunena Forum