You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have only one request. When a store is closed, currently it echo's a separator or '-' by default.
I have inserted a snippet ie;
if($hours=='-'){
echo '' . 'Closed' . '';
} else {
echo '' . $hours . '';
}
However, it would be of some added value to have a variable for that in your class ie;
'open' => "Yes, we're open! Today's hours are {%hours%}.",
'closed' => "Sorry, we're closed Hours today are {%hours%}",
'closed_all_day' => "Sorry, we're closed today.",
'separator' => " - ",
'nohours' => " Closed ",
'join' => " and ",
'format' => "g:ia", // options listed here: http://php.net/manual/en/function.date.php
'hours' => "{%open%}{%separator%}{%closed%}"
The text was updated successfully, but these errors were encountered:
I have only one request. When a store is closed, currently it echo's a separator or '-' by default.
I have inserted a snippet ie;
if($hours=='-'){
echo '' . 'Closed' . '';
} else {
echo '' . $hours . '';
}
However, it would be of some added value to have a variable for that in your class ie;
'open' => "Yes, we're open!
Today's hours are {%hours%}.",
'closed' => "Sorry, we're closed
Hours today are {%hours%}",
'closed_all_day' => "Sorry, we're closed today.",
'separator' => " - ",
'nohours' => " Closed ",
'join' => " and ",
'format' => "g:ia", // options listed here: http://php.net/manual/en/function.date.php
'hours' => "{%open%}{%separator%}{%closed%}"
The text was updated successfully, but these errors were encountered: