Are there any packages or case studies that demo this type of functionality?
Yes there are some on Github, not saying use one, but you could look over the code.
In one I did years ago, I just had slots to fill.
Summer Sale! All accounts are 50% off this week.
Before sitting down to write what I think will be a very complex rules engine, I wanted to check if a package (or best practice) exists for doing the following:
Let's assume I have a timestamp and I want to check this against a group of rules that a user can set up in advance:
Note, a user could set up multiple rules e.g. I do not accept bookings on Wednesday AND between 9 am and 11 am.
The excepted output is true or false, either the input timestamp is 'bookable' or it is not.
So, the question:
Please or to participate in this conversation.