{"id":17680,"date":"2019-01-19T12:26:46","date_gmt":"2019-01-19T12:26:46","guid":{"rendered":"https:\/\/kb.sambapos.com\/?p=17680"},"modified":"2019-01-19T12:26:46","modified_gmt":"2019-01-19T12:26:46","slug":"4-2-2-switching-between-menus-time-based","status":"publish","type":"post","link":"https:\/\/kb.sambapos.com\/en\/4-2-2-switching-between-menus-time-based\/","title":{"rendered":"4.2.2. Switching Between Menus Time Based"},"content":{"rendered":"<p>In this document, it will be explained how to switch automatically between multiple menus.<\/p>\n<p><span style=\"font-size: 14pt;\"><strong>1. Adding Automation Commands<\/strong><\/span><\/p>\n<p><strong>Main Menu &gt; Manage &gt; Automation &gt; Automation Commands &gt; <\/strong>here click on<strong> Add Automation Command.<\/strong><\/p>\n<p><strong>General Settings Section;<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-16049 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/08\/Switch-Menu-02-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/08\/Switch-Menu-02-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/08\/Switch-Menu-02-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/08\/Switch-Menu-02-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/08\/Switch-Menu-02.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><strong>Name:<\/strong> Breakfast Menu<\/p>\n<p><strong>Button Header:<\/strong> Breakfast Menu<\/p>\n<p><strong>Clear Selection:<\/strong>\u00a0This box has to be selected.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Mappings Section;<\/strong><\/p>\n<p>Mappings section has to be blank.<\/p>\n<p>After completing necessary editings, click on <strong>Save<\/strong> button.<\/p>\n<p>In the same way, create 2 more Automation Commands and name them as Lunch Menu and Evening Menu;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-16051 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/08\/Switch-Menu-03-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/08\/Switch-Menu-03-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/08\/Switch-Menu-03-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/08\/Switch-Menu-03-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/08\/Switch-Menu-03.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"font-size: 14pt;\">2. Adding Menus<\/span><\/strong><\/p>\n<p><strong>Main Menu &gt; Manage &gt; Products &gt; Menu List &gt; <\/strong>here click on<strong> Add Menu <\/strong>and add as many menus as you needed.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-16047 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/08\/Switch-Menu-01-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/08\/Switch-Menu-01-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/08\/Switch-Menu-01-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/08\/Switch-Menu-01-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/08\/Switch-Menu-01.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>After you created your menus, select the <strong>Related Categories<\/strong> for <strong>Related Menus<\/strong>;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-16056 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/08\/Switch-Menu-04-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/08\/Switch-Menu-04-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/08\/Switch-Menu-04-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/08\/Switch-Menu-04-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/08\/Switch-Menu-04.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>After completing necessary editings, click on <strong>Save<\/strong> button.<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt; color: #ff0000;\"><strong>IMPORTANT NOTE: <\/strong><\/span><\/p>\n<p><span style=\"color: #ff0000;\">All the settings that have been configured for <strong>Breakfast Menu\u00a0<\/strong>in here, should be repeated for<strong> Lunch Menu <\/strong>and <strong>Dinner Menu<\/strong> as well.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\"><strong>3. Adding Actions<\/strong><\/span><\/p>\n<p><strong>3.1. Adding Breakfast Menu Action<\/strong><\/p>\n<p><strong>Main Menu &gt; Manage &gt; Automation &gt; Actions &gt; <\/strong>here click on<strong> Add Action.<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-17662 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Switch-Menu-09-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Switch-Menu-09-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Switch-Menu-09-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Switch-Menu-09-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Switch-Menu-09.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><strong>Action Name:<\/strong> SM-Breakfast Menu<\/p>\n<p><strong>Action Type:<\/strong> Change Screen Menu<\/p>\n<p><strong>Screen Menu Name:<\/strong> Breakfast Menu<\/p>\n<p>After completing necessary editings, click on <strong>Save<\/strong> button.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>3.2. Adding Lunch Menu Action<\/strong><\/p>\n<p><strong>Main Menu &gt; Manage &gt; Automation &gt; Actions &gt; <\/strong>here click on<strong> Add Action.<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-17664 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Switch-Menu-10-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Switch-Menu-10-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Switch-Menu-10-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Switch-Menu-10-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Switch-Menu-10.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><strong>Action Name:<\/strong> SM-Lunch Menu<\/p>\n<p><strong>Action Type:<\/strong> Change Screen Menu<\/p>\n<p><strong>Screen Menu Name:<\/strong>\u00a0Lunch Menu<\/p>\n<p>After completing necessary editings, click on <strong>Save<\/strong> button.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>3.3. Adding Dinner Menu Action<\/strong><\/p>\n<p><strong>Main Menu &gt; Manage &gt; Automation &gt; Actions &gt; <\/strong>here click on<strong> Add Action.<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-17666 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Switch-Menu-11-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Switch-Menu-11-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Switch-Menu-11-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Switch-Menu-11-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Switch-Menu-11.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><strong>Action Name:<\/strong> SM-Dinner Menu<\/p>\n<p><strong>Action Type:<\/strong> Change Screen Menu<\/p>\n<p><strong>Screen Menu Name:<\/strong>\u00a0Dinner Menu<\/p>\n<p>After completing necessary editings, click on <strong>Save<\/strong> button.<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\"><strong>4. Adding Rules<\/strong><\/span><\/p>\n<p><strong>4.1. Adding Select Breakfast Menu Rule<\/strong><\/p>\n<p><strong>Main Menu &gt; Manage &gt; Automation &gt; Rules &gt; <\/strong>here click on<strong> Add Rule.<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-17685 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Switch-Menu-15-1024x546.jpg\" alt=\"\" width=\"640\" height=\"341\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Switch-Menu-15-1024x546.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Switch-Menu-15-300x160.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Switch-Menu-15-768x409.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Switch-Menu-15.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Rule Name:<\/strong> SM-Select Breakfast Menu<\/p>\n<p><strong>Event Name:<\/strong> Ticket Opened<\/p>\n<p><strong>Execute Rule If:<\/strong>\u00a0Matches All<\/p>\n<p><strong>Add Custom Constraint:<\/strong><\/p>\n<p>{DATE:HHmm}|Greater|0800<\/p>\n<p>{DATE:HHmm}|Less|1129<\/p>\n<p><strong>Select Action:<\/strong><\/p>\n<p><strong>Action:<\/strong> SM-Breakfast Menu<\/p>\n<p>After completing necessary editings, click on <strong>Save<\/strong> button.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>4.2. Adding Select Lunch Menu Rule<\/strong><\/p>\n<p><strong>Main Menu &gt; Manage &gt; Automation &gt; Rules &gt; <\/strong>here click on<strong> Add Rule.<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-17687 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Switch-Menu-16-1024x546.jpg\" alt=\"\" width=\"640\" height=\"341\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Switch-Menu-16-1024x546.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Switch-Menu-16-300x160.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Switch-Menu-16-768x409.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Switch-Menu-16.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><strong>Rule Name:<\/strong> SM-Select Lunch Menu<\/p>\n<p><strong>Event Name:<\/strong> Ticket Opened<\/p>\n<p><strong>Execute Rule If:<\/strong>\u00a0Matches All<\/p>\n<p><strong>Add Custom Constraint:<\/strong><\/p>\n<p>{DATE:HHmm}|Greater|1130<\/p>\n<p>{DATE:HHmm}|Less|1659<\/p>\n<p><strong>Select Action:<\/strong><\/p>\n<p><strong>Action:<\/strong> SM-Lunch Menu<\/p>\n<p>After completing necessary editings, click on <strong>Save<\/strong> button.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>4.3. Adding Select Dinner Menu Rule<\/strong><\/p>\n<p><strong>Main Menu &gt; Manage &gt; Automation &gt; Rules &gt; <\/strong>here click on<strong> Add Rule.<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-17691 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Switch-Menu-17-1-1024x546.jpg\" alt=\"\" width=\"640\" height=\"341\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Switch-Menu-17-1-1024x546.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Switch-Menu-17-1-300x160.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Switch-Menu-17-1-768x409.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Switch-Menu-17-1.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><strong>Rule Name:<\/strong> SM-Select Dinner Menu<\/p>\n<p><strong>Event Name:<\/strong> Ticket Opened<\/p>\n<p><strong>Execute Rule If:<\/strong>\u00a0Matches All<\/p>\n<p><strong>Add Custom Constraint:<\/strong><\/p>\n<p>{DATE:HHmm}|Greater|1700<\/p>\n<p>{DATE:HHmm}|Less|2300<\/p>\n<p><strong>Select Action:<\/strong><\/p>\n<p><strong>Action:<\/strong> SM-Dinner Menu<\/p>\n<p>After completing necessary editings, click on <strong>Save<\/strong> button.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this document, it will be explained how to switch automatically between multiple menus. 1. Adding Automation Commands Main Menu &gt; Manage &gt; Automation &gt; Automation Commands &gt; here click on Add Automation Command. General Settings Section; Name: Breakfast Menu Button Header: Breakfast Menu Clear Selection:\u00a0This box has to be selected. &nbsp; Mappings Section; Mappings [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-17680","post","type-post","status-publish","format-standard","hentry","category-customization"],"_links":{"self":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/17680","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/comments?post=17680"}],"version-history":[{"count":2,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/17680\/revisions"}],"predecessor-version":[{"id":17693,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/17680\/revisions\/17693"}],"wp:attachment":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/media?parent=17680"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/categories?post=17680"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/tags?post=17680"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}