Bert wrote
In my system is ordering in the future not possibel.
My timezone is Europe/Amsterdam
When I choose ASAP it is ok but when I choose Later I get the message:
Sorry but form validation has failed, please check for errors.
That error happens to me whenever I select a day that is NOT today's date but a future date.
I did some debugging and might have found the error.
Looking at the file: system/tastyigniter/libraries/Location.php
Line 528, function checkOrderTime
The following line only checks if the store is open during the "current" day, since it compares the $time with today's $working_hour
$status = $this->workingStatus($type, $time);
I fixed it by replacing that by
$index = date('w', strtotime($time)) - 1;
if ($index < 0)
$index = 6; // Sunday
$working_hours_of_time = $this->working_hours[$this->location_id][$type][$index];
$status = $this->workingStatus($type, $time, $working_hours_of_time);
This way, I'm passing the $working_hours_of_time parameter so the workingStatus function compares the $time with the corresponding/correct working hours