Advanced Date Picker not working

  • Posts: 15
  • Thank you received: 3
2 years 3 months ago #338530

Hi!
I try to use the advanced datepicker but the javascript console says "window.hikashopDatepicker is not a function"
how can I fix / debug that?

Elisa

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

  • Posts: 4502
  • Thank you received: 610
  • MODERATOR
2 years 3 months ago #338531

Hello,

Please can you provide these elements in order to better understand the context and when the error emerge :
- Step by step process (in order to try to reproduce the issue)
- Screenshot of the error (with the Joomla Debug switch On AND in level development)
- Precise your Joomla/HikaShop/Php versions.

Awaiting your element to be able to progress on your subject.
Regards

Last edit: 2 years 3 months ago by Philip.

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

  • Posts: 15
  • Thank you received: 3
2 years 3 months ago #338549

Hi Philip,

My step by step process is as described here: (I used the php solution)
www.hikashop.com/forum/install-update/89...checkout-solved.html

I attached the settings of my custom field and also in the checkout, and also how the field looks like in frontend and the error (See attachments)
It's Joomla 4.0.5 and Hika Shop Business 4.4.5 and PHP PHP Version 7.4.x

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

  • Posts: 4502
  • Thank you received: 610
  • MODERATOR
2 years 3 months ago #338554

Hellp,

Thanks for your additional information, we now better understand the context and from this we have 2 points to check :
1. Have a look in Extensions dropdown => Manage => Manage
=> Use the Search input with "Date" to find "Hikashop Date Picker Plugin"

2. Did you install recently a plugin or something (even template), that may use some javascript, and eventually can leads to prevent the hikashopeDatepicker js ?...
=> Best way to proceed is to switch of plugins one by one and process each time a test, can be quite repetitive and boring, but sometimes we have no choice...

Awaiting your returns to progress on your subject.
Regards

Last edit: 2 years 3 months ago by Philip.

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

  • Posts: 15
  • Thank you received: 3
2 years 3 months ago #338584

Hi Philip,
I have only Hika Shop, Hika Market and the Template installed.
I switched to Cassiopeia and the problem still exists.
I disabled Hika Market and it also still exists.
I disabled Hika Shop Cart override, that did not help either.

I have the Date Picker Plugin enabled.

What could I check next?

Thanks,
Elisa

Last edit: 2 years 3 months ago by coolcatcreations.

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

  • Posts: 81481
  • Thank you received: 13062
  • MODERATOR
2 years 3 months ago #338595

Hi,

I guess it will require analyzing the javascript and ajax requests on the checkout.
Could you provide an access to your website so that we could look at the situation ?
If yes, please provide this via our contact form along with a link to this thread:
www.hikashop.com/support/contact-us.html

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

  • Posts: 4502
  • Thank you received: 610
  • MODERATOR
2 years 2 months ago #338751

Hello,

We process some tests on your website and where able to use as expected your advance date picker (birthdate) in your checkout.
Now let's be clear... If you ask why that didn't working that will be hard to say...

Basically I process some settings/save tests, and that's all.
Sometimes for a reason or another when a custom filed is created something went wrong while saving process (and sometimes while updating HikaShop), and just save again entries can solve these kind of issue...

Hope this will allow you to achieved your needs anyway.
Regards

Last edit: 2 years 2 months ago by Philip.

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

  • Posts: 15
  • Thank you received: 3
2 years 2 months ago #338860

Hi Philip,
thats strange, ok - so you did not change anything and at some point it started working? :-)
Glad its figured out at least.
Thanks for your help,
Elisa

The following user(s) said Thank You: Philip

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

Time to create page: 0.095 seconds
Powered by Kunena Forum