-- 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