Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception Messages #9

Open
coryetzkorn opened this issue Sep 8, 2015 · 1 comment
Open

Exception Messages #9

coryetzkorn opened this issue Sep 8, 2015 · 1 comment

Comments

@coryetzkorn
Copy link
Owner

I am playing around with your php store hours app from GitHub.
I was wondering if there a way to have a special message (i.e.: Happy Mother’s Day) assigned to a date that would be display with that specific exception date.
Ultimately it would be awesome to have something like this being pulled from the exception array:

  • We are open today from: 8am to 9pm
    Happy Mother’s Day

OR

  • We are open today from: 8am to 2pm
    Merry Christmas

Would you create another array for that specific date? Like:
$exceptions = array(
'12/25' => array(
'8am - 2pm’,
‘Merry Christmas'
),

I think this would make it a more personal experience to the visitor.

@alexsmacd
Copy link

@coryetzkorn did you ever get anywhere with this suggestion? I'm looking to implement something like this. If I end up creating something functional, I'll submit it. No promises...haha!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants
@coryetzkorn @alexsmacd and others