Advanced date picker does not work anymore

  • Posts: 38
  • Thank you received: 4
  • Hikashop Business
6 months 2 weeks ago #355931

-- HikaShop version -- : 5.0.0
-- Joomla version -- : 4.3.4
-- PHP version -- : 8.2.10

Hi,

In our Hikashop installation I have created a product custom field 'Advanced date picker'. This has worked well so far. Today, however, the customer reported back that the field no longer works in the product. Also, manually changing an existing value resets on save.

I suspect that the problem has to do with the update to version 5.0.0, but I can't say for sure. I see the following JS errors in the Firefox error console:

- 'Uncaught TypeError: options is null'
(index.php)
- 'failed parsing JSON in string below: {maxDate:0,dateFormat:'dd.mm.yy',defaultDate:'10.02.2021',firstDay:0}'
(hikashop.js)
- jQuery.Deferred exception: options is null window.hikashopDatepicker@https://DOMAIN-REPLACED/administrator/index.php?option=com_hikashop&ctrl=product:265:5
@https://DOMAIN-REPLACED/administrator/index.php?option=com_hikashop&ctrl=product:1612:42
e@https://DOMAIN-REPLACED/media/vendor/jquery/js/jquery.min.js?3.6.3:2:30310
Deferred/then/l/</t<@https://DOMAIN-REPLACED/media/vendor/jquery/js/jquery.min.js?3.6.3:2:30612
undefined
(jquery.min.js:2:31865)

Regards
Stefan

Last edit: 6 months 2 weeks ago by smart web.

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

  • Posts: 81591
  • Thank you received: 13079
  • MODERATOR
6 months 2 weeks ago #355933

Hi,

We added a hot fix 2 weeks ago for that issue:
www.hikashop.com/forum/5-support-en-fran...is-maj-5.html#355593
Download again the install package of the 5.0.0 and install it on your website to get the patch.

The following user(s) said Thank You: jbvieren, smart web

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

  • Posts: 38
  • Thank you received: 4
  • Hikashop Business
6 months 2 weeks ago #355940

Thank you very much, after I have downloaded and installed the current 5.0.0, everything works again as desired. Unfortunately, I understand French very poorly, so I hadn't found the solution. Now that this topic has been dealt with here in the English-speaking forum, it will certainly help others too.

The following user(s) said Thank You: nicolas

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

Time to create page: 0.062 seconds
Powered by Kunena Forum