- Posts: 6
- Thank you received: 0
Advanced Date Picker Issue
-- Joomla version -- : 3.3.3
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : Invalid Date Selected
I am using Advanced Date Picker module from Hikashop to let users place an advanced order. When doing so under the Chrome or Internet Explorer browsers, the Invalid Date error message blocks the customer from completing the checkout although the date is not invalid.
Please Log in or Create an account to join the conversation.
Could you please do a screenshot of the options of your custom field so that we can see how you configured your date picker ?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I don't see a problem with the field options.
I've done a test on both Chrome and Internet Explorer on your website and I was able to select the date I wanted and finish the order.
So I don't see any problem.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
You need to turn off the "Default today" option of the field in order to avoid that problem.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Nicolas created an issue to solve that problem for the advanced date picker (that I developed and give for free to the the HikaShop team).
I am sorry for that bug and I will see to reproduce it and to fix the algorithm which calculate the "today".
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
- PolishedGeek
-
- Offline
- Official HikaShop Development Partner
We're using this too on a client site and ran into the same problem. Would you please be sure to update this thread when a fixed version of the Advanced Calendar field plugin is ready? Thanks!
~ Deb Cinkus, CEO
Polished Geek: more with monday․com
eCommerce Business Process Automation Experts
Please Log in or Create an account to join the conversation.
Currently I am very busy with the HikaMarket 1.5.0 release that I want to finish as soon as possible.
If you have some time to work on the datepicker plugin, the concept is easy : you have to check if the date is forbidden or not.
Here a "mock-up", the concept idea
If the day is forbidden, the function will return 1 ; if the value is in a date range, the function will return the number of day until the end of the date range, etc.
And I think it will require an extra check in the code in order to not use the default value when the option "default today" is set.
Because when the user save the custom field with "default today", the current day is stored in as default value, so the customer field will always set that default value and the idea of "default today" is to avoid that.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I would like to ask about how the "Hour for extra day" field works and what values are acceptable.
I am using this custom field for selecting a date for order pick up. But in case a user submits an order after 11.00am of a day, I would like an extra day to be culculated. Is this "Hour for extra day" is what I need?
Thanks,
Dora
Please Log in or Create an account to join the conversation.
In the field "hour for extra day" you can put the hour (like "11") or the full time (like "11:00") and the plugin will add an extra waiting day (so you won't be able to select "today" after "11:00") if the time is already passed.
The hour/time format is 24h, so 1pm is "13:00".
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Regards,
Dora
Please Log in or Create an account to join the conversation.
All was working perfect until today! Saddenly, I am getting an error when using the date picker as custom option of a product. Either if I set today as default day or not, I am getting the same error message, but, regardless, the product options are added to the cart, without displaying the product, the product price and the custom fields. I have enabled the option "group options with product" on the configuration. Why this saddenly happened?
Please see attached.
Regards,
Dora
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I have to admit that, like that I don't have specific idea.
I know that the "default today" option need some improvements but I don't understand why it was working before and "suddenly" it is not working. I guess that something changed but we have to know what.
Did you change an option (in the plugin or in HikaShop) ? Did you update something ?
When did you activate the "group option" (just before ?) ?
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
It was working a few days ago, but since then I have worked on other parts/pages/products, so, I could say that yes, I changed HikaShop options in general, although I am not sure in which part of HikaShop you're reffering at. For example I have created other categories/products/custom fields (but not any additional date pickers), I used the Limit functionality and removed the "user points" plugin/custom field/payment method that were enabled/configured then. That's all I can remember.
I didn't change any option of the part that is using the date pickers, since this part was totally completed. Also, I activated the "group option" long before I created the date pickers custom fields.
Without this working properly, I am totally lost
I am sending you in private message the url of the page that is using the date pickers, which are dinamically appear based on the pick up location.
Thank you for you help,
Dora
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please provide a screenshot of your custom field listing.
I can select a date and add a product without any specific problem if I choose the pickup "FitFuel365 Headquarters Grab n’ Go and Order Pick-Up".
Otherwise, when I validate ; HikaShop told me that the datepicker for the place "FitFuel365 Headquarters Grab n’ Go and Order Pick-Up" is invalid/required.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.