• Resolved joshj121

    (@joshj121)


    This has been a great product for my client, but I think version 2.0.0 introduced an issue with the datepicker.

    After updating to 2.0.0 and also 2.0.1 I found that my datepicker field no longer updates after selecting a date. The datepicker pops up as expected, and I can select a date, but the field value is never updated with the selected date. Is this also an issue that was introduced with the 2.0.0 version?

    I have a datepicker on the cart and checkout pages. The field is required. Because the field is required and no date is being populated, I am unable to create an order.

    Thank you for any assistance you can provide.

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Saravana Kumar K

    (@mycholan)

    Hi, sorry for that inconvenience, please delete that date picker field and recreate it using the same name, don’t worry your existing order is safe, also if you are specifying the dateformat then make sure you are entering PHP compatible date format, not jQuery UI dateformat.

    Also from you single product screen (in your browser) open developer console (ctrl + shift + i) and see if there any JavaScript error has been logged.

    I’m having this same problem too. It works fine if I don’t specify a Date Format, otherwise the date value isn’t set properly in the form. Like @joshj121, the date picker pops up, but when a date is selected, nothing shows up in the field. I have tried different date formats, which are PHP compatible. I even tried the default date format ‘d-m-Y’ and it caused the same problem.

    Plugin Author Saravana Kumar K

    (@mycholan)

    I added a feature, using which you can change the product price based on the fields value. For that feature I need to parse the date, but the existing jQuery UI date format won’t work, so I changed to PHP based dateformat.

    Even if you set the date format as php based, when injecting date picker on product page the we internally convert them to jQuery ui compatible.

    Anyway sorry for the inconvenience, it still have some hiccups, I will test it with more versions and will release an update.

    Plugin Author Saravana Kumar K

    (@mycholan)

    Hi the fix is released with V 2.0.2, please update.

    Works perfectly now! Thank you for fixing that so quickly!

    Thread Starter joshj121

    (@joshj121)

    Thank you very much for being quick to fix the issue.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Datepicker no longer working’ is closed to new replies.