Advanced Date Picker Issue

  • Posts: 80
  • Thank you received: 1
9 years 5 months ago #178723

Hi Jerome,

Thank you so much for trying to help on this. It's really important part of the website.

Please, look at the attached screenshots. I currently deleted all the pick up dates fields and left only 2 for the first two options of the Location Pick Up field. The configuration is the same like the one on screenshot I sent you with a previous message, the only difference is that I disabled the Default today option for all cases.

One other important thing is that I don't see that the "Hour for extra day" is working at all!

Regards,

Attachments:

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

  • Posts: 26007
  • Thank you received: 4004
  • MODERATOR
9 years 5 months ago #178833

Hi,

I took me some time but I finally made the improvement for the "today" processing.
I think it could fix your issue.

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.
Attachments:
Last edit: 9 years 5 months ago by Jerome.

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

  • Posts: 80
  • Thank you received: 1
9 years 5 months ago #178981

Hi Jerome,

I sent you a private message, I am not sure if you got it. The improvement didn't fix the issue. I have made some changes on the website for testing this. Please check the same fields now on the checkout page. What I have noticed is that only the date picker for the first location option is working well. Also, I am not sure how relevant is this, when I select the first location option there is a default day on it and when I select another location there isn't any (although the configuration is the same). One last thing is that on the backend when I have the location field accessable only for a particular group, then I don't get it's values for the "Display limited to" field at the date pickers.

Regards,
Dora

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

  • Posts: 26007
  • Thank you received: 4004
  • MODERATOR
9 years 5 months ago #179189

Hi,

I received your private message and I take a look at your checkout page (as guest) but I don't understand.
I will really need some details about your date picker configuration otherwise I won't be able to understand.
For the moment I can just see that you have several date picker which are displaying depending the selected pickup ; that's all I can see and analyze.

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.

  • Posts: 80
  • Thank you received: 1
9 years 5 months ago #179196

Hi Jerome,

I am not sure what else do you need regarding the configuration, cause I sent you a screenshot of the configuration pickup date field. Please use the credentials I pm you for accessing the backend of website. Please, let me know if you need to make any changes at another part of the website.

Regards,
Dora

The following user(s) said Thank You: Jerome

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

  • Posts: 80
  • Thank you received: 1
9 years 5 months ago #179648

I am still waiting for an answer to this. Meanwhile, one more thing that I noticed is that the date picker does not accept a date, which is after a forbidden day, even though this date is allowed. For example, if I set Mondays as forbidden days, Thursdays are not acceptable too, even though they are not forbidden days and they are selectable on the date picker. Can you fix this now?

Last edit: 9 years 5 months ago by DoraK.

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

  • Posts: 26007
  • Thank you received: 4004
  • MODERATOR
9 years 5 months ago #179657

Hi,

I fixed the issue on your server ; it was related to your time offset configuration.
I put some code in the plugin in order to manage the time offset delays so when the server convert a date into a timestamp ; this same timestamp will be converted to the same date afterwards.
I still don't understand why this happened but now the plugin can handle it.

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.

  • Posts: 80
  • Thank you received: 1
9 years 5 months ago #179661

Hi Jerome,

You keep sending me answers that you haven't checked that actually can make things work on my website. You have my website's url to test it, screeshots of the configurations and also the credentials for the backend.
Have you tried to select a pick up date for other than the first location option (for example Edwardsville location) on the checkout page and you found out that it's actually working? Cause this still doesn't work for me. Again, I would like to point out what I noticed:

"For example, if I set Mondays as forbidden days, Thursdays are not acceptable too, even though they are not forbidden days and they are selectable on the date picker."

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

  • Posts: 26007
  • Thank you received: 4004
  • MODERATOR
9 years 5 months ago #179663

Hi,

I made a test with your actual configuration where "Friday" and "Saturday" are excluded.
I select "Sunday" and the date as been approved correctly.

In order to test, I do not check the checkbox at the bottom so I do not validate the order and I can see if there is a warning message for the datepicker, or not.

And in my test, I just got the message

Message
Please make sure that you have selected the correct Location and Date Pick up

And the date is right stored in the date picker.
Please note that the "default today" is also working fine now.
During my test, the selected date was "16-11-2014" which is the correct one regarding the configuration.

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.
Attachments:

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

  • Posts: 80
  • Thank you received: 1
9 years 5 months ago #179665

Well, for some reason, after my last message, suddenly, all are working fine for all the date pickers! Maybe it's because I can see that the datepickers php and xml files are being updated 10 minutes ago!

Thanks!

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

  • Posts: 26007
  • Thank you received: 4004
  • MODERATOR
9 years 5 months ago #179666

Hi,

Mostly because I put you a clean plugin without the debug traces after my latest tests.
I don't think that your customers need to have HTML commentaries with the display of the date picker setting and the time offset processing.
This clean plugin is also available in my message #178833

Regards,

PS : Please note that I am also the developer of the "User Points" re-factoring and I was with Mohamed when he wrote his message. I wanted to explain him how the plugins works in the same time ; so I won't be the only one to answer to questions even if I think I'll be the only one who will maintain it and improve it.


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.

  • Posts: 80
  • Thank you received: 1
9 years 5 months ago #179675

This is strange indeed, the CLEAN plugin which was available in your message #178833 6 days ago, has today's date now.
Anyway, I am sure you're an exceptional developer, Jerome. But keep in mind that we are the users of what you develop and you know better than everyone and that we are not responsible for testing or debugging or fixing the issues.

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

  • Posts: 26007
  • Thank you received: 4004
  • MODERATOR
9 years 5 months ago #179680

Hi,

Yes I know that.
And I also know that I developed that "advanced date picker" for free in order to help the community ; this plugin is also in the starter package and some users asked for special features that I added for free too.
Like the support I am providing here ; which are not link to my components (hikamarket & hikaserial) so which does not pay me to live.

I understand your point of view ; I hope that you understand mine too.
HikaShop, even if it have commercial versions is also an open-source software where developers like me can participate.


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.

  • Posts: 20
  • Thank you received: 0
8 years 11 months ago #200405

Hi,
I see a few posts mentioning Advanced Date Picker field type but I don't have it on my Hikashop 2.4 with joomla 3.4.1.
Could you tell me why it is not on my installation?
The reason I ask is because I want to use a datepicker but the 'Simple Date Picker' field requires mootools-more and mootools-core, which I don't really use anywhere else on my site.

So,
1 - Why don't I have the advance date field type in my installation?
2 - Where do I get it?
3 - does it require mootools?

Thanks,

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

  • Posts: 26007
  • Thank you received: 4004
  • MODERATOR
8 years 11 months ago #200410

But,

Like we wrote in several threads, the "advanced date picker" works thanks to a plugin.
So you have to publish that plugin to have the custom field available.

And not, it does not require mootools ; it is using jquery-ui

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.

  • Posts: 20
  • Thank you received: 0
8 years 11 months ago #200457

Hi Jerome,
Thanks for pointing me in the right direction. And I am sorry if I missed the 'activating the plugin' part.

I activated it and I was able to change my custom field type from 'simple date picker' to 'Advanced date picker'.

One funny thing though, you say it doesn't require mootools. But I use the Mootools Enabler/Disabler plugin to disable mootools.
If the plugin is active and mootools-more and mootools-core is disable the date picker doesn't work. If there is no dependency of those libraries it should work regardless shouldn't it?

Any Ideas?

Thanks,
Mauricio

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

  • Posts: 26007
  • Thank you received: 4004
  • MODERATOR
8 years 11 months ago #200479

Hi,

The date picker or the advanced date picker ?
Please be precise.

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.

  • Posts: 20
  • Thank you received: 0
8 years 11 months ago #200541

The Advanced Date Picker.
If I disable mootools using the plugin I mentioned above it doesn't work.
I tested using my own template, beez3 and protostar. It doesn't work if mootools is disabled.
So if the Advanced date picker doesn't required mootools, why doesn't it work?

Thanks again.

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

  • Posts: 26007
  • Thank you received: 4004
  • MODERATOR
8 years 11 months ago #200568

Hi,

Are you sure that there is not something else in the page which use mootools ?
Because if you have a javascript error it would stop the processing of the javascript and do not let the advanced date picker initialized.
But I can assure you that the plugin "advanced date picker" only have jquery javascript code inside.

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.

  • Posts: 20
  • Thank you received: 0
8 years 11 months ago #200613

Well, when I enable the plugin that disables mootools I get squeezeBox js erros related to the checkout, which is related to hikashop.
So it looks to me some of hikashop code requires mootools.

I am pretty sure if you try disabling mootools on your test and test the checkout using beez3 for example you will get the same problem. Advanced Date Field not working.

Please advise.

Thanks

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

Time to create page: 0.104 seconds
Powered by Kunena Forum