Feature Requested
11 years 7 months ago #192821
by habusam
Feature Requested was created by habusam
Hello,
I'm in use with this application in the past month or even so, and to be honest with you, this application has more than one even expected don't mention the support, so because I'm in love of this and we are going to develop another 4 sites has very similarity we are requesting if you could add this feature, as you might known in USA restaurant has a certain time for open and close, some of them open 7 days same time and close same time and some of them not, to prevent orders that might comes after hours maybe you can add this feature which is adding every day hours so developer could add exactly when they can except last order for example in my case last order can be excepted just 30 minutes before close what means no order will be fulfilled after that, i think it will be a very helpful feature, thanks in advanced
Sammy
I'm in use with this application in the past month or even so, and to be honest with you, this application has more than one even expected don't mention the support, so because I'm in love of this and we are going to develop another 4 sites has very similarity we are requesting if you could add this feature, as you might known in USA restaurant has a certain time for open and close, some of them open 7 days same time and close same time and some of them not, to prevent orders that might comes after hours maybe you can add this feature which is adding every day hours so developer could add exactly when they can except last order for example in my case last order can be excepted just 30 minutes before close what means no order will be fulfilled after that, i think it will be a very helpful feature, thanks in advanced
Sammy
Please Log in or Create an account to join the conversation.
11 years 7 months ago #192853
by nicolas
Replied by nicolas on topic Feature Requested
Hi,
Thank you for your feedback. We don't have such plans in the short term. We'll see for the long term. Note that you can also have that customized on your end. It just require custom coding of the file "step" of the view "checkout".
Thank you for your feedback. We don't have such plans in the short term. We'll see for the long term. Note that you can also have that customized on your end. It just require custom coding of the file "step" of the view "checkout".
Please Log in or Create an account to join the conversation.
11 years 7 months ago #192943
by habusam
Replied by habusam on topic Feature Requested
that was a good way to put it, LOL
but i wish i have some expertise to do so, but im willing to try if at least give me the areas and the correct code that i have to work with
thanks
but i wish i have some expertise to do so, but im willing to try if at least give me the areas and the correct code that i have to work with
thanks
Please Log in or Create an account to join the conversation.
11 years 6 months ago #193083
by Xavier
Replied by Xavier on topic Feature Requested
Hi,
As Nicolas said, the view to edit is "checkout / step" and then you have to edit dynamically the values of the variables:
As Nicolas said, the view to edit is "checkout / step" and then you have to edit dynamically the values of the variables:
The value must be changed based on the day of the week, there is PHP functions for that, for example:$open_hour
$close_hour
$open_minute
$close_minute
Code:
// 0 (for sunday) to 6 (for saturday)
if(date('w',time()) == '0'){ // so sunday
$open_hour = 4;
$close_hour = 15;
$open_minute = 0;
$close_minute = 45;
}
// etc
Please Log in or Create an account to join the conversation.
Time to create page: 0.182 seconds