Aspire wrote
Hello everyone!
I have a problem with the estimate delivery time.
Delivery time is set up on 60 minutes.
Bascially when a customer order for example at 13.40, he should get estimate delivery time 14.40. But the response is 15.00.
Is always the after o'clock hour.
Anyone got the same problem and know how to fix it?
Thanks!
Open file: system/tastyigniter/models/Orders_model.php find the code:
$order_time = (strtotime($order_info['order_time']) < strtotime($current_time)) ? $current_time : $order_info['order_time'];
replace with the code:
$order_time = (strtotime($order_info['order_time']) < $current_time) ? $current_time : $order_info['order_time'];