Cannot add variant in HikaShop on J4

  • Posts: 200
  • Thank you received: 9
  • Hikashop Multisite
2 years 4 months ago #337892

-- HikaShop version -- : 4.4.4
-- Joomla version -- : 4.0.4
-- PHP version -- : 8.0.13
-- Error-message(debug-mod must be tuned on) -- : Uncaught SyntaxError: expected expression, got ''
onreadystatechange takaroo.dlidev.nl/media/com_hikashop/js/hikashop.js?v=444:389
and more

Also on next line :
Uncaught TypeError: can't access property "focus", window.oNameboxes.data_variant_add_3 is undefined
onclick takaroo.dlidev.nl/administrator/index.ph...roduct&task=edit&cid []=10:1

Hi,

It seems that I cannot add a variant anymore in a Joomla 4 website.
When trying to add it there is a message in the console :
Uncaught SyntaxError: expected expression, got '<'

I found this post that suggest it might have been fixed but unfortunately I still get this error message.
https://www.hikashop.com/support/forum/product-category-display/903312-plus-d-acces-aux-caracteristiques-de-mes-produits.html

Any tips on this?

Last edit: 2 years 4 months ago by Joomill. Reason: solved

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

  • Posts: 81513
  • Thank you received: 13068
  • MODERATOR
2 years 4 months ago #337895

Hi,

The code change on that other thread is indeed the solution to your issue.
And yes, it has been fixed on our end.
However, this fix is to be added for the next version of HikaShop so that's why you still have the issue since we didn't do the release yet (it should be next week).
So to fix the problem, you can manually do the code modification mentioned in the other thread and it will work.

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

  • Posts: 200
  • Thank you received: 9
  • Hikashop Multisite
2 years 4 months ago #337910

Thanks, this solves it for now.

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

Time to create page: 0.059 seconds
Powered by Kunena Forum