{"id":17589,"date":"2019-01-08T13:36:47","date_gmt":"2019-01-08T13:36:47","guid":{"rendered":"https:\/\/kb.sambapos.com\/?p=17589"},"modified":"2019-01-08T13:36:47","modified_gmt":"2019-01-08T13:36:47","slug":"4-36-how-to-make-100-discount-for-staff-meals","status":"publish","type":"post","link":"https:\/\/kb.sambapos.com\/en\/4-36-how-to-make-100-discount-for-staff-meals\/","title":{"rendered":"4.36. How to Make 100% Discount for Staff Meals?"},"content":{"rendered":"<p>In this document, it will be explained how to apply 100% discount for <strong>Staff&#8217;s Meals<\/strong>.<\/p>\n<p>There are 2 methods for this implementation;<\/p>\n<p><span style=\"font-size: 14pt;\"><strong>Method-1 Using Customer Type Custom Field;<\/strong><\/span><\/p>\n<p>In this method, you need to select your <strong>Staff<\/strong> as<strong> Customer<\/strong>\u00a0before you start receiving orders into ticket.<\/p>\n<p><span style=\"font-size: 14pt;\"><strong>How It Works;<\/strong><\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-17592\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Price-1.gif\" alt=\"\" width=\"640\" height=\"329\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>1. Editing Customers Entity Type<\/strong><\/p>\n<p><strong>Main Menu &gt; Manage &gt; Entities &gt; Entity Types &gt; Customers &gt; Custom Fields &gt;<\/strong> here add a custom field by clicking on <strong>Add<\/strong>\u00a0<strong>Custom Field\u00a0<\/strong>button, name it as <strong>Customer Type <\/strong>and write<strong> Staff<\/strong> into\u00a0the <strong>Values<\/strong> column.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-17594 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-01-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-01-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-01-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-01-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-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>2. Editing Ticket Type<\/strong><\/p>\n<p><strong>Main Menu &gt; Manage &gt; Tickets &gt; Ticket Types &gt; Ticket &gt;<\/strong> here, select\u00a0<strong>Allow Zero Priced Orders<\/strong> box.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-17596 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-02-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-02-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-02-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-02-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-02.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>3. Adding 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-17598 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-03-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-03-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-03-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-03-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-03.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><strong>Action Name:<\/strong>\u00a0Setup Staff Price<\/p>\n<p><strong>Action Type:<\/strong>\u00a0Update Order<\/p>\n<p><strong>Parameters:<\/strong><\/p>\n<p><strong>Price:<\/strong>\u00a0[:Price]<\/p>\n<p>After completing necessary editings, click on <strong>Save<\/strong> button.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>3. Adding 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-17601 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-04-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-04-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-04-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-04-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-04.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><strong>Rule Name:<\/strong>\u00a0Setup Staff Price<\/p>\n<p><strong>Event Name:\u00a0<\/strong>Order Added to Ticket<\/p>\n<p><strong>Execute Rule If:<\/strong> Matches<\/p>\n<p><strong>Add Custom Constraint:<\/strong><\/p>\n<p>{ENTITY DATA:Customer:Customer Type}|Equals|Staff<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Select Actions:<\/strong><\/p>\n<p><strong>Action:<\/strong> <strong>Setup Staff Price<\/strong><\/p>\n<p><strong>Price:<\/strong> 0 (Zero)<\/p>\n<p>After completing necessary editings, click on <strong>Save<\/strong> button.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\"><strong>Method-2 Using Automation Command Button;<\/strong><\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><strong>How It Works;<\/strong><\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-17605\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-2-1.gif\" alt=\"\" width=\"640\" height=\"331\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>1. Adding Automation Command<\/strong><\/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-17608 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-05-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-05-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-05-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-05-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-05.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><strong>Name:<\/strong> Staff Meal<\/p>\n<p><strong>Button Header:\u00a0<\/strong>Staff\\rMeal<\/p>\n<p><strong>Color:<\/strong> Select a color.<\/p>\n<p><strong>Confirmation:<\/strong> Admin Pin<\/p>\n<p><strong>Clear Selection:<\/strong> Must be selected.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Mappings Section;<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-17610 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-06-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-06-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-06-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-06-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-06.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>In here add a row by clicking on <strong>Add<\/strong> button and configure it as shown in the above image.<\/p>\n<p>After completing necessary editings, click on <strong>Save<\/strong> button.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>2. Adding 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-17598 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-03-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-03-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-03-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-03-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-03.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><strong>Action Name:<\/strong>\u00a0Setup Staff Price<\/p>\n<p><strong>Action Type:<\/strong>\u00a0Update Order<\/p>\n<p><strong>Parameters:<\/strong><\/p>\n<p><strong>Price:<\/strong>\u00a0[:Price]<\/p>\n<p>After completing necessary editings, click on <strong>Save<\/strong> button.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>3. Adding 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-17612 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-07-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-07-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-07-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-07-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/01\/Staff-Meal-07.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><strong>Rule Name:<\/strong>\u00a0Setup Staff Price<\/p>\n<p><strong>Event Name:<\/strong>\u00a0Automation Command Executed<\/p>\n<p><strong>Execute Rule If:<\/strong> Matches<\/p>\n<p><strong>Add Custom Constraint:<\/strong><\/p>\n<p>Automation Command Name|Equals|Staff Meal<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Select Actions:<\/strong><\/p>\n<p><strong>Action:<\/strong> <strong>Setup Staff Price<\/strong><\/p>\n<p><strong>Price:<\/strong> 0 (Zero)<\/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 apply 100% discount for Staff&#8217;s Meals. There are 2 methods for this implementation; Method-1 Using Customer Type Custom Field; In this method, you need to select your Staff as Customer\u00a0before you start receiving orders into ticket. How It Works; &nbsp; 1. Editing Customers Entity Type Main [&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-17589","post","type-post","status-publish","format-standard","hentry","category-customization"],"_links":{"self":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/17589","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=17589"}],"version-history":[{"count":6,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/17589\/revisions"}],"predecessor-version":[{"id":17615,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/17589\/revisions\/17615"}],"wp:attachment":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/media?parent=17589"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/categories?post=17589"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/tags?post=17589"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}