When trying to checkout I receive the following error:
"The selected delivery time is outside our opening/closing hours"
I have set the opening times to 24/7 and I still can't checkout.
Any help would be appreciated.
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