The availability of menus can be controlled with tags. This can only be used at the menu level, not with products, categories, or modifiers.
Tag format:
only-available[-for-{method}][-for-platform-{platform}][-on-{day-of-week}][-between-{time-of-day}-{time-of-day}]
The -between-{time-of-day}-{time-of-day} and -on-{day-of-week} conditions work based on the expected time of the order.
This means, for example, you could order from the dinner menu at lunchtime if you schedule your order during when the dinner menu is available.
Example
In the Menu Editor, select where you would like the field to appear. Add an availability tag to the Tag filed for a certain menu.
Adding tags to the menu
We have recently added the calendar view for tags that makes the configuration of the tags way much easier. With the calendar view feature, you don't have to manually write the whole tag statement.
Here is an example of how it works -
- Make a selection from the methods (can be pick or delivery or eatin or all) and then add the specific day you would like to display the menu for.
- Once the method and days are added, we can add a specific time slot according to the availability of the menu.
- The next step is to save the requirement, as we click "ADD AVAILABILITY RESTRICTION" we can see the following -
On the above image -
We have set the requirement for the menu to be only available for "Delivery" for "Monday" from 10am to 3pm - The menu will look like this as we close the window after adding the tags -
- Click save and the change will be implemented to the menus.
Using Multiple Tags
Multiple tags can be used per menu. If at least one `only-available-` tag is on a menu, then the menu will only be available if at least one tag is meeting its conditions. i.e., A menu will be available if at least one of its availability tags is meeting all its conditions.
e.g., If a menu had the following tags:
only-available-for-pickup-on-friday,
only-available-for-pickup-on-saturday,
only-available-for-delivery,
Then the menu will be available if:
order method is pickup and it's expected for friday and saturday
OR
if the order method is delivery and it will be valid for all days
Things to be aware of -
- The menu availability function only works for menus assigned to the location. So ensure that all relevant menus have been assigned to relevant locations.
- Menus that are affected by these tags will be hidden and not be visible to customers.
- Multiple tags can be used on a menu. Ensure availability does not overlap (e.g. If a store has opening hours from 8:30AM-6:00PM; Menu 1 = only-available-between-1100-1600 & Menu 2 = only-available-between-0830-1059,only-available-between-1601-1800).
- If both menus are showing and you don't want them to you can set your tags over a 24-hour period. E.g. Breakfast from 0001-1100 and other menu from 1101-2359
Note: Tags must be added in order, if removed we recommend adding all the tags again as they are not editable