I'm trying to set up a conditional action for shipping quotes in Ubercart. I need check the hour of day as a condition. I'm using the execute custom PHP condition. If the php returns true I just want the predicate to continue onto the actions. If it returns false I want it to stop. I tried:
if (date('G') >14 && date('G') < 18){
return true;
}
else{
return false;
}
When I tried this the shipping estimator just never delivered a quote.
Any ideas?