{"id":12314,"date":"2018-03-14T10:20:20","date_gmt":"2018-03-14T10:20:20","guid":{"rendered":"https:\/\/kb.sambapos.com\/?p=12314"},"modified":"2018-11-07T08:11:25","modified_gmt":"2018-11-07T08:11:25","slug":"4-10-how-to-make-50-off-promotion-for-second-item","status":"publish","type":"post","link":"https:\/\/kb.sambapos.com\/en\/4-10-how-to-make-50-off-promotion-for-second-item\/","title":{"rendered":"4.10. How to Make 50% Off Promotion for Second Item?"},"content":{"rendered":"<p>In the example it will be shown how to add second of the same item to ticket by making 50% discount.\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0It is possible to use that promotion for different cases according to need.<\/p>\n<p>It is necessary to add action, rule, automation command and configure the printer template settings.<\/p>\n<h2 id=\"eylem_-_1_fiyati_50_dusur\" class=\"sectionedit8\">Adding Action (Decrease Price 50%)<\/h2>\n<p>Go to <strong>Manage &gt; Automation &gt; Actions<\/strong> from here click on <strong>Add Action<\/strong> link.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12364 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-01-2-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-01-2-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-01-2-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-01-2-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-01-2.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<ul>\n<li><strong>Action Name:<\/strong>\u00a0Field to write name of action. (In the example;\u00a0PR50_PR50-Decrase Price-second\u00a0item 50%)<\/li>\n<li><strong>Action Type;<\/strong>\u00a0Select Update Order template.<\/li>\n<li><strong>Price:<\/strong>\u00a0In this field write <code>[=F(TN('{PRICE}')\/2)]<\/code><\/li>\n<\/ul>\n<p>After completing necessary fields, click on<strong> Save<\/strong> button.<\/p>\n<h2 class=\"sectionedit8\">Adding Action (Activate Promotion)<\/h2>\n<p>Go to\u00a0<strong>Manage &gt; Automation &gt; Actions<\/strong>\u00a0from here click on\u00a0<strong>Add Action<\/strong>\u00a0link.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12366 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-02-2-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-02-2-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-02-2-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-02-2-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-02-2.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<ul>\n<li><strong>Action Name:<\/strong>\u00a0Field to write name of action. (In the example;\u00a0PR50_PR50-Activate Promotion-second item 50%)<\/li>\n<li><strong>Action Type:<\/strong>\u00a0Select Update Ticket State template.<\/li>\n<li><strong>State Name:<\/strong>\u00a0Write &#8220;Promotion&#8221; into this field.<\/li>\n<li><strong>State:<\/strong>\u00a0Write &#8220;50% off&#8221; into this field.<\/li>\n<\/ul>\n<p>After completing necessary fields, click on <strong>Save<\/strong> button.<\/p>\n<h2 class=\"sectionedit8\">Adding Action (Deactivate Promotion)<\/h2>\n<p>Go to\u00a0<strong>Manage &gt; Automation &gt; Actions<\/strong>\u00a0from here click on\u00a0<strong>Add Action<\/strong>\u00a0link.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12368 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-03-2-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-03-2-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-03-2-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-03-2-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-03-2.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<ul>\n<li><strong>Action Name:<\/strong>\u00a0Field to write name of action. (In the example; PR50_PR50-Deactivate Promotion-second item 50%)<\/li>\n<li><strong>Action Type:<\/strong>\u00a0Select Update Ticket State template.<\/li>\n<li><strong>State Name:<\/strong>\u00a0Write &#8220;Promotion&#8221; into this field.<\/li>\n<\/ul>\n<p>After completing necessary fields, click on<strong> Save<\/strong> button.<\/p>\n<h2 class=\"sectionedit8\">Adding Action (Update Order Service Status)<\/h2>\n<p>Go to\u00a0<strong>Manage &gt; Automation &gt; Actions<\/strong>\u00a0from here click on\u00a0<strong>Add Action<\/strong>\u00a0link.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12396 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-22-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-22-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-22-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-22-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-22.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<ul>\n<li><strong>Action Name:<\/strong>\u00a0Field to write name of action. (In the example; PR50_PR50-Promotion Update Order Service Status-second item 50%)<\/li>\n<li><strong>Action Type:<\/strong>\u00a0Select Update Order State template.<\/li>\n<li><strong>State Name:<\/strong>\u00a0Write &#8220;Promotion&#8221; into this field.<\/li>\n<li><strong>State:<\/strong>\u00a0Write [:Status] into this field.<\/li>\n<\/ul>\n<p>After completing necessary fields, click on<strong> Save<\/strong> button.<\/p>\n<h2 class=\"sectionedit8\">Adding Action (Update Order Promotion Status)<\/h2>\n<p>Go to\u00a0<strong>Manage &gt; Automation &gt; Actions<\/strong>\u00a0from here click on\u00a0<strong>Add Action<\/strong>\u00a0link.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12362 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-05-1-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-05-1-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-05-1-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-05-1-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-05-1.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<ul>\n<li><strong>Action Name:<\/strong>\u00a0Field to write name of action. (In the example; PR50_PR50-Promotion Update Order\u00a0Promotion Status-second item 50%)<\/li>\n<li><strong>Action Type:<\/strong>\u00a0Select Update Order State template.<\/li>\n<li><strong>State Name:<\/strong> Write &#8220;Promotion&#8221; into this field.<\/li>\n<li><strong>State:<\/strong>\u00a0Write &#8220;50% Off&#8221; into this field.<\/li>\n<\/ul>\n<p>After completing necessary fields, click on<strong>\u00a0Save<\/strong>\u00a0button.<\/p>\n<h2 class=\"sectionedit8\">Adding Action (Add New Order to Ticket)<\/h2>\n<p>Go to\u00a0<strong>Manage &gt; Automation &gt; Actions<\/strong>\u00a0from here click on\u00a0<strong>Add Action<\/strong>\u00a0link.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12372 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-06-1-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-06-1-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-06-1-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-06-1-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-06-1.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<ul>\n<li><strong>Eylem Ad\u0131:<\/strong>\u00a0Field to write name of action. (In the example; PR50_PR50-Add New Order to Ticket-second item 50%)<\/li>\n<li><strong>Action Type:<\/strong>\u00a0Select Add Order template.<\/li>\n<li><strong>Product Name: <\/strong>Write\u00a0{NAME} into this field.<\/li>\n<li><strong>Quantity:<\/strong>\u00a0Write &#8220;1&#8221; value into this field.<\/li>\n<\/ul>\n<p>After completing necessary fields, click on<strong>\u00a0Save<\/strong>\u00a0button.<\/p>\n<h2 class=\"sectionedit8\">Adding Action (Load Last Order)<\/h2>\n<p>Go to\u00a0<strong>Manage &gt; Automation &gt; Actions<\/strong>\u00a0from here click on\u00a0<strong>Add Action<\/strong>\u00a0link.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12374 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-07-1-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-07-1-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-07-1-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-07-1-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-07-1.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<ul>\n<li><strong>Action Name:<\/strong>\u00a0Field to write name of action. (In the example; PR50_PR50-Load Last Order-second\u00a0item 50%)<\/li>\n<li><strong>Action Type:<\/strong>\u00a0Select Load Last Order template.<\/li>\n<\/ul>\n<p>After completing necessary fields, click on<strong>\u00a0Save<\/strong>\u00a0button.<\/p>\n<h2 class=\"sectionedit8\">Adding Action (Refresh Ticket)<\/h2>\n<p>Go to\u00a0<strong>Manage &gt; Automation &gt; Actions<\/strong>\u00a0from here click on\u00a0<strong>Add Action<\/strong>\u00a0link.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12376 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-08-1-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-08-1-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-08-1-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-08-1-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-08-1.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<ul>\n<li><strong>Action Name:<\/strong>\u00a0Field to write name of action. (In the example; PR50_PR50-Refresh Ticket-second item 50%)<\/li>\n<li><strong>Action Type:<\/strong>\u00a0Select Display Ticket template.<\/li>\n<li><strong>Ticket Id:<\/strong>\u00a0Write &#8220;0&#8221; value into this field.<\/li>\n<\/ul>\n<p>After completing necessary fields, click on<strong>\u00a0Save<\/strong>\u00a0button.<\/p>\n<h2 class=\"sectionedit8\">Adding Automation Command (Second Beverage 50% Off )<\/h2>\n<p>To add &#8221;sell second beverage 50% off &#8221; button, go to <strong>Manage &gt; Automation &gt; Automation Commands<\/strong> from here click on <strong>Add Automation Command<\/strong> link.<\/p>\n<p><strong>General Settings Section;<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12337 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-09-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-09-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-09-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-09-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-09.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<ul>\n<li><strong>Name:<\/strong>\u00a0Field to write name of automation command. (In the example; PR50_PR50-Sell second beverage %50)<\/li>\n<li><strong>Category:<\/strong>\u00a0Write &#8220;Promotion&#8221; into this field.<\/li>\n<li><strong>Button Header:<\/strong>\u00a0Write &#8220;Promotion \\r second beverage 50%&#8221; in this field. Use \\r\u00a0in here to scroll down the line.<\/li>\n<li><strong>Color:<\/strong>\u00a0Field to select the button color.<\/li>\n<li><strong>Font Size:<\/strong>\u00a0Field to set font size of the button.<\/li>\n<li><strong>Confirmation:<\/strong>\u00a0Select None template in this field.<\/li>\n<li><strong>Clear Selection:<\/strong>\u00a0Activate Clear selection box.<\/li>\n<\/ul>\n<p><strong>Mappings Section;<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12339 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-10-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-10-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-10-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-10-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-10.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>Add at a line to mappings section.<\/p>\n<ul>\n<li><strong>Enabled States:<\/strong>\u00a0Write 50% Off into this field.<\/li>\n<li><strong>Visibility:<\/strong>\u00a0Select Ticket in this field.<\/li>\n<\/ul>\n<p>After completing necessary fields, click on<strong>\u00a0Save<\/strong>\u00a0button.<\/p>\n<h2 class=\"sectionedit8\">Adding Automation Command (Hold Service)<\/h2>\n<p>To add hold service button, go to\u00a0<strong>Manage &gt; Automation &gt; Automation Commands<\/strong>\u00a0from here click on A<strong>dd Automation Command<\/strong>\u00a0link.<\/p>\n<p><strong>General Settings Section;<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12342 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-11-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-11-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-11-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-11-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-11.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<ul>\n<li><strong>Name:<\/strong>\u00a0Field to write name of automation command. (In the example; PR50_PR50-Hold Service)<\/li>\n<li><strong>Category:<\/strong>\u00a0Write &#8220;Promotion&#8221; into this field.<\/li>\n<li><strong>Button Header:<\/strong>\u00a0Write &#8220;Hold\\r Service&#8221; in this field. Use \\r\u00a0in here to scroll down the line.<\/li>\n<li><strong>Color:<\/strong>\u00a0Field to select the button color.<\/li>\n<li><strong>Font Size:<\/strong>\u00a0Field to set font size of the button.<\/li>\n<li><strong>Confirmation:<\/strong>\u00a0Select None template in this field.<\/li>\n<li><strong>Clear Selection:<\/strong>\u00a0Activate Clear selection box.<\/li>\n<\/ul>\n<p><strong>Mappings Section;<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12344 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-12-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-12-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-12-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-12-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-12.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>Add at a line to mappings section.<\/p>\n<ul>\n<li><strong>Enabled States:<\/strong>\u00a0Write &#8220;New&#8221; into this field.<\/li>\n<li><strong>Visibility:<\/strong>\u00a0Select Order Line in this field.<\/li>\n<\/ul>\n<p>After completing necessary fields, click on<strong>\u00a0Save<\/strong>\u00a0button.<\/p>\n<p>&nbsp;<\/p>\n<h2 class=\"sectionedit8\">Adding Automation Command (Start Service)<\/h2>\n<p>To add start service button, go to <strong>Manage &gt; Automation &gt; Automation Commands<\/strong>\u00a0from here click on A<strong>dd Automation Command<\/strong>\u00a0link.<\/p>\n<p><strong>General Settings Section;<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12346 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-13-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-13-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-13-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-13-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-13.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<ul>\n<li><strong>Name:<\/strong>\u00a0Field to write name of automation command. (In the example; PR50_PR50- Start Service)<\/li>\n<li><strong>Category:<\/strong>\u00a0Write &#8220;Promotion&#8221; into this field.<\/li>\n<li><strong>Button Header:<\/strong>\u00a0Write &#8220;Start\\r Service&#8221; in this field. Use \\r\u00a0in here to scroll down the line.<\/li>\n<li><strong>Color:<\/strong>\u00a0Field to select the button color.<\/li>\n<li><strong>Font Size:<\/strong>\u00a0Field to set font size of the button.<\/li>\n<li><strong>Confirmation:<\/strong>\u00a0Select None template in this field.<\/li>\n<li><strong>Clear Selection:<\/strong>\u00a0Activate Clear selection box.<\/li>\n<\/ul>\n<p><strong>Mappings Section;<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12348 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-14-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-14-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-14-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-14-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-14.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>Add at a line to mappings section.<\/p>\n<ul>\n<li><strong>Enabled States:<\/strong>\u00a0Write &#8220;Start Service&#8221; into this field.<\/li>\n<li><strong>Visibility:<\/strong>\u00a0Select Order Line in this field.<\/li>\n<\/ul>\n<p>After completing necessary fields, click on<strong>\u00a0Save<\/strong>\u00a0button.<\/p>\n<p>&nbsp;<\/p>\n<h2 class=\"sectionedit8\">Adding Rule (Start 50% Off Promotion)<\/h2>\n<p>Go to <strong>Manage &gt; Automation &gt; Rules<\/strong> from here click on <strong>Add Rule<\/strong> link.<\/p>\n<p><strong>General Settings Section;<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12379 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-15-1-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-15-1-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-15-1-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-15-1-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-15-1.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<ul>\n<li><strong>Rule Name:<\/strong>\u00a0Field to write name of rule. (In the example; PR50_PR50-Promotion second item 50%-Start)<\/li>\n<li><strong>Event Name:<\/strong>\u00a0Select Order Added to Ticket template.<\/li>\n<li><strong>Add Custom Constraint:<\/strong>\u00a0In this field in case of making discount for a specific item select &#8220;Item Name&#8221; template, if making discount for all items in a category then select &#8220;Menu Item Group Code&#8221; template.\n<ul>\n<li>Menu Item Group Code | Equals | Beverages<\/li>\n<\/ul>\n<\/li>\n<li><strong>Actions &gt; Select Action:<\/strong>\u00a0Select related action that was created on previous step. (In the example; PR50_PR50-Activate Promotion-second item 50%)<\/li>\n<\/ul>\n<p>After completing necessary fields, click on<strong>\u00a0Save<\/strong>\u00a0button.<\/p>\n<h2 class=\"sectionedit8\">Adding Rule (Execute Promotion 50% for Second Item)<\/h2>\n<p>Go to\u00a0<strong>Manage &gt; Automation &gt; Rules<\/strong>\u00a0from here click on\u00a0<strong>Add Rule<\/strong>\u00a0link.<\/p>\n<p><strong>General Settings Section;<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12381 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-16-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-16-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-16-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-16-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-16.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<ul>\n<li><strong>Rule Name:<\/strong>\u00a0Field to write name of rule. (In the example; PR50_PR50-Promotion second item 50%-Execute)<\/li>\n<li><strong>Event Name:<\/strong>\u00a0Select Automation Command Executed template.<\/li>\n<li><strong>Add Custom Constraint:<\/strong>\u00a0Automation Command Name | Equals | PR50_PR50-sell second beverage 50% Off.<\/li>\n<li><strong>Actions &gt; Select Action:<\/strong>\u00a0Select actions that were created on previous steps.\n<ul>\n<li>PR50_PR50-Load Last Order-second item 50%<\/li>\n<li>PR50_PR50-Add New Order to Ticket-second item 50%<\/li>\n<li>PR50_PR50-Decrase Price-second item 50%<\/li>\n<li>PR50_PR50-Promotion Update Order Promotion Status-second item 50%<\/li>\n<li>PR50_PR50-Deactivate Promotion-second item 50%<\/li>\n<li>PR50_PR50-Refresh Ticket-second item 50%<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>After completing necessary fields, click on<strong>\u00a0Save<\/strong>\u00a0button.<\/p>\n<h2 class=\"sectionedit8\">Adding Rule (When Clicked on Hold Service Button)<\/h2>\n<p>Go to\u00a0<strong>Manage &gt; Automation &gt; Rules<\/strong>\u00a0from here click on\u00a0<strong>Add Rule<\/strong>\u00a0link.<\/p>\n<p><strong>General Settings Section;<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12389 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-17-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-17-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-17-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-17-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-17.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<ul>\n<li><strong>Rule Name:\u00a0<\/strong>Field to write name of rule. (In the example; PR50_PR50-Promotion second item 50%-When Clicked on Hold Service Button)<\/li>\n<li><strong>Event Name:<\/strong>\u00a0Select Automation Command Executed template.<\/li>\n<li><strong>Add Custom Constraint:<\/strong>\u00a0Automation Command Name\u00a0| Equals | PR50_PR50- Hold Service<\/li>\n<li><strong>Action &gt; Select Action:<\/strong>\u00a0Select previously created action.\n<ul>\n<li>Select PR50_PR50-Promotion Update Order Service Status-second item 50% action. Write &#8220;Hold Service&#8221; into Status field.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>After completing necessary fields, click on<strong>\u00a0Save<\/strong>\u00a0button.<\/p>\n<h2 class=\"sectionedit8\">Adding Rule (When Clicked on Start Service Button)<\/h2>\n<p>Go to\u00a0<strong>Manage &gt; Automation &gt; Rules<\/strong>\u00a0from here click on\u00a0<strong>Add Rule<\/strong>\u00a0link.<\/p>\n<p><strong>General Settings Section;<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12393 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-19-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-19-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-19-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-19-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-19.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<ul>\n<li><strong>Rule Name:\u00a0<\/strong>Field to write name of rule. (In the example; PR50_PR50-Promotion second item 50%-When Clicked on Start Service Button)<\/li>\n<li><strong>Event Name:<\/strong>\u00a0Select Automation Command Executed template.<\/li>\n<li><strong>Add Custom Constraint:<\/strong>\u00a0Automation Command Name\u00a0| Equals | PR50_PR50- Start Service<\/li>\n<li><strong>Actions &gt; Select Action :<\/strong> \u00a0Select previously created action.\n<ul>\n<li>Select PR50_PR50-Promotion Update Order Service Status-second item 50% action. Write &#8220;Start Service&#8221; into Status field.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>After completing necessary fields, click on<strong>\u00a0Save<\/strong>\u00a0button.<\/p>\n<h2 class=\"sectionedit8\">Configuring Printer Template<\/h2>\n<p>Go to <strong>Manage &gt; Printing &gt; Printer Templates<\/strong> from here open editing screen by double clicking on <strong>Kitchen Orders Template.<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12391 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-18-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-18-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-18-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-18-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/4-10-How-to-Make-50-Off-for-Second-of-Same-Product-Promotion-18.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>Copy and paste phrases below into the Orders field.<\/p>\n<p><strong>[ORDERS:Hold Service]<\/strong><br \/>\n&lt;J00&gt;- {QUANTITY} {NAME}|**Hold Service**<br \/>\n{ORDER TAGS}<\/p>\n<p><strong>[ORDERS:Start Service]<\/strong><br \/>\n&lt;J00&gt;- {QUANTITY} {NAME}|**Start Service**<br \/>\n{ORDER TAGS}<\/p>\n<p>After completing necessary fields, click on<strong>\u00a0Save<\/strong>\u00a0button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12398\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/50.gif\" alt=\"\" width=\"640\" height=\"331\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the example it will be shown how to add second of the same item to ticket by making 50% discount.\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0It is possible to use that promotion for different cases according to need. It is necessary to add action, rule, [&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-12314","post","type-post","status-publish","format-standard","hentry","category-customization"],"_links":{"self":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/12314","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=12314"}],"version-history":[{"count":13,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/12314\/revisions"}],"predecessor-version":[{"id":16769,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/12314\/revisions\/16769"}],"wp:attachment":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/media?parent=12314"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/categories?post=12314"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/tags?post=12314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}