- Posts: 171
- Thank you received: 9
Date field not always working
- pepecortez
-
Topic Author
- Offline
A really strange problem emerged. When exporting on frontend, the date filter is not working. Any date I give in, it's skipping, but all the other filters are working properly. As we have some customization, I put back the original files to test it out, but that filter also still not working, just the others.
Also in checkout process there's a custom optional datepicker field. Sometimes it takes in the given value, sometimes not: throwing back.
Tested now the chekcout: For default only Tuesday and Thursday is acceptable in settings, and 1 day set for wainting day. In that case 2015.03.26. is accepted but higher dates from 2015.03.31. says 'Incorrect date for the field 'Igényelt kiszállítási dátum' . But if forbidden days are just weekend, it usually works. Really don't know what produces these...
As both problems connecting to date fields, I thought as both Hikashop and Hikamarket uses the Hikashop date field class as I know, I changed the admin/com_hikashop/classes/fields.php to the newest one. Also not helped.
What should I try? How should I start searching for the problem itself?
Thanks in advance!
Please Log in or Create an account to join the conversation.
Can you please provide more details, like the HikaShop and HikaMarket version number you are using ?
Having more details about the issue will also help ; for the moment I don't visualize what you are talking about.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
- pepecortez
-
Topic Author
- Offline
- Posts: 171
- Thank you received: 9
Jerome wrote: Hi,
Can you please provide more details, like the HikaShop and HikaMarket version number you are using ?
Having more details about the issue will also help ; for the moment I don't visualize what you are talking about.
Regards,
Could I send you a PM with login details to check? Should be more efficient then describing more.
Please Log in or Create an account to join the conversation.
- pepecortez
-
Topic Author
- Offline
- Posts: 171
- Thank you received: 9
pepecortez wrote:
Jerome wrote: Hi,
Can you please provide more details, like the HikaShop and HikaMarket version number you are using ?
Having more details about the issue will also help ; for the moment I don't visualize what you are talking about.
Regards,
Could I send you a PM with login details to check? Should be more efficient then describing more.
After long tests, it seems to be separate problems: the Advanced datepicker field, and export date fields. Getting in deeper, if I find it, I'll post it here.
Please Log in or Create an account to join the conversation.
- pepecortez
-
Topic Author
- Offline
- Posts: 171
- Thank you received: 9
Unfortunately my subscription just turned off when Hikashop 2.4 was published, so I updated the plugin from this link .
Parameter settings are attached in screenshoot: Only choosable fields are Tuesday and Thursday.
I was not able to choose apr.7. in testing, then I modified the error messages in the plugin (datepickerfield_class.php) to find which throws out the error. When I removed these lines it saved a date, but in admin orders I saw it saved apr.6., not the choosen apr.7.
So now it saves a date, but not the choosen one. Any advices?
Please Log in or Create an account to join the conversation.
- pepecortez
-
Topic Author
- Offline
- Posts: 171
- Thank you received: 9
components/com_hikamarket/views/ordermarket/view.html.php
around line 993. in v.1.6.
There was a misspell in the code. This:
should be this:
Please Log in or Create an account to join the conversation.
Thanks for the report and sorry for the inconvenient ; I will include your fix into HikaMarket.
About the datepicker (which is related to HikaShop), I know that there are some modifications in order to handle special timezone.
I know that PolishGeek submit a patch few weeks ago in order to add "12 hours" in order to be sure that the timezone won't affect the day (and not select the previous day).
If you want to get the last version of the plugin, you can download HikaShop starter and just extract the plugin from the zip (in the "back/extensions" folder).
For the plugin datepicker, you won't have any issue because the plugin does not depend on special function in the HikaShop core.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
- pepecortez
-
Topic Author
- Offline
- Posts: 171
- Thank you received: 9
Jerome wrote: Hi,
Thanks for the report and sorry for the inconvenient ; I will include your fix into HikaMarket.
Happy to give a little back from what I got you earlier.
Jerome wrote: About the datepicker (which is related to HikaShop), I know that there are some modifications in order to handle special timezone.
I know that PolishGeek submit a patch few weeks ago in order to add "12 hours" in order to be sure that the timezone won't affect the day (and not select the previous day).
If you want to get the last version of the plugin, you can download HikaShop starter and just extract the plugin from the zip (in the "back/extensions" folder).
For the plugin datepicker, you won't have any issue because the plugin does not depend on special function in the HikaShop core.
Regards,
Uh, sorry, I remember as earlier this plugin was not in the starter package, that's why I do not search for it there before.
Unfortunately I updated it, but still getting the same error. I have Budapest set in Joomla timezone.
Please Log in or Create an account to join the conversation.
So you should take a look at this thread:
www.hikashop.com/forum/install-update/87...te-displace-bug.html
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
- pepecortez
-
Topic Author
- Offline
- Posts: 171
- Thank you received: 9
So both problem solved.
Thank u guys!
Jerome wrote: Hi,
So you should take a look at this thread:
www.hikashop.com/forum/install-update/87...te-displace-bug.html
Regards,
Please Log in or Create an account to join the conversation.