{"id":16388,"date":"2018-10-04T09:08:55","date_gmt":"2018-10-04T09:08:55","guid":{"rendered":"https:\/\/kb.sambapos.com\/?p=16388"},"modified":"2018-10-17T14:01:37","modified_gmt":"2018-10-17T14:01:37","slug":"4-26-how-to-prepare-special-menu-for-customers","status":"publish","type":"post","link":"https:\/\/kb.sambapos.com\/en\/4-26-how-to-prepare-special-menu-for-customers\/","title":{"rendered":"4.26. How to Prepare Special Menu for Customers?"},"content":{"rendered":"<p>In this document, it will be explained how to prepare special menus for customers.<\/p>\n<p><span style=\"font-size: 14pt;\"><strong>1. Adding Custom Field and Customer Information<\/strong><\/span><\/p>\n<p><strong>1.1. Adding Custom Field<\/strong><\/p>\n<p><strong>Main Menu &gt; Manage &gt; Entities &gt; Entity Types &gt; Customers &gt; Custom Fields Section &gt;<\/strong>\u00a0here click on <strong>Add Custom Field<\/strong> and configure settings as shown in below image.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-16668 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/10\/Special-Menu-01-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/10\/Special-Menu-01-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/10\/Special-Menu-01-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/10\/Special-Menu-01-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/10\/Special-Menu-01.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><strong>1.2. Adding Customer Information<\/strong><\/p>\n<p><strong>Main Menu &gt; Manage &gt; Entities &gt; Entities &gt; <\/strong>here, double click on name of related customer and select <strong>Related Menu<\/strong> and <strong>Customer Code <\/strong>information.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-16671 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/10\/Special-Menu-02-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/10\/Special-Menu-02-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/10\/Special-Menu-02-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/10\/Special-Menu-02-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/10\/Special-Menu-02.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-16673 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/10\/Special-Menu-03-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/10\/Special-Menu-03-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/10\/Special-Menu-03-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/10\/Special-Menu-03-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/10\/Special-Menu-03.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><strong>IMPORTANT NOTE:<\/strong><\/p>\n<p><strong>In the example, Customer Code starts with letter A in order to make the related Rule work properly. You can select that according to your wish but you have to use the same phrase in the Custom Constraint section of related rule.<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\"><strong>2. Adding Actions<\/strong><\/span><\/p>\n<p><strong>2.1. Change 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-16677 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/10\/Special-Menu-06-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/10\/Special-Menu-06-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/10\/Special-Menu-06-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/10\/Special-Menu-06-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/10\/Special-Menu-06.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><strong>Action Name:<\/strong>\u00a0SP-Change Menu<\/p>\n<p><strong>Action Type:<\/strong> Change Screen Menu<\/p>\n<p><strong>Parameters:<\/strong><\/p>\n<p><strong>Screen Menu Name:<\/strong> [:Menu Name]<\/p>\n<p>After completing necessary editings, click on <strong>Save<\/strong> button.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>2.2. Refresh Ticket 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-16675 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/10\/Special-Menu-04-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/10\/Special-Menu-04-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/10\/Special-Menu-04-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/10\/Special-Menu-04-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/10\/Special-Menu-04.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><strong>Action Name:<\/strong> SP-Refresh Ticket<\/p>\n<p><strong>Action Type:<\/strong>\u00a0Display Ticket<\/p>\n<p>After completing necessary editings, click on <strong>Save<\/strong> button.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>2.3. Select Customer 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-16679 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/10\/Special-Menu-05-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/10\/Special-Menu-05-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/10\/Special-Menu-05-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/10\/Special-Menu-05-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/10\/Special-Menu-05.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><strong>Action Name:<\/strong>\u00a0SM-Select Customer<\/p>\n<p><strong>Action Type:<\/strong> Change Ticket Entity<\/p>\n<p><strong>Parameters:<\/strong><\/p>\n<p><strong>Can Creat Ticket:<\/strong> True<\/p>\n<p><strong>Entity Type Name:<\/strong> Customers<\/p>\n<p><strong>Entity Search Value:<\/strong> [:Numberpad]<\/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>3. Adding Rules<\/strong><\/span><\/p>\n<p><strong>3.1. Selecting Customer 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-16681 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/10\/Special-Menu-07-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/10\/Special-Menu-07-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/10\/Special-Menu-07-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/10\/Special-Menu-07-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/10\/Special-Menu-07.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><strong>Rule Name:\u00a0<\/strong>SM-Customer Selected<\/p>\n<p><strong>Event Name:<\/strong> Ticket Entity Changed<\/p>\n<p><strong>Execute rule If: Matches<\/strong><\/p>\n<p><strong>Actions:<\/strong><\/p>\n<p><strong>Action-1: Change Entity State (Already existing action)<\/strong><\/p>\n<p><strong>Status:<\/strong> {ENTITY DATA:Customers:Name}<\/p>\n<p><strong>Action-2: SM-Refresh Ticket<\/strong><\/p>\n<p><strong>Action-3: SM-Change Menu<\/strong><\/p>\n<p><strong>Menu Name: <\/strong>{ENTITY DATA:Customers:Menu}<\/p>\n<p>After completing necessary editings, click on <strong>Save<\/strong> button.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>3.2. Search Customer 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-16683 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/10\/Special-Menu-08-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/10\/Special-Menu-08-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/10\/Special-Menu-08-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/10\/Special-Menu-08-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/10\/Special-Menu-08.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><strong>Rule Name:<\/strong>\u00a0SM-Search Customer<\/p>\n<p><strong>Event Name:<\/strong>\u00a0Numberpad Value Entered<\/p>\n<p><strong>Execute Rule If: <\/strong>Matches<\/p>\n<p><strong>Add Custom Constraint:<\/strong><\/p>\n<p>Numberpad Value|Starts|A<\/p>\n<p><strong>Actions:<\/strong><\/p>\n<p><strong>Action-1: <\/strong>SM-Select Customer<\/p>\n<p><strong>Numberpad: <\/strong>[:NumberpadValue]<\/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 prepare special menus for customers. 1. Adding Custom Field and Customer Information 1.1. Adding Custom Field Main Menu &gt; Manage &gt; Entities &gt; Entity Types &gt; Customers &gt; Custom Fields Section &gt;\u00a0here click on Add Custom Field and configure settings as shown in below image. After [&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-16388","post","type-post","status-publish","format-standard","hentry","category-customization"],"_links":{"self":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/16388","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=16388"}],"version-history":[{"count":5,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/16388\/revisions"}],"predecessor-version":[{"id":16685,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/16388\/revisions\/16685"}],"wp:attachment":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/media?parent=16388"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/categories?post=16388"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/tags?post=16388"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}