{"id":25589,"date":"2021-03-24T12:32:12","date_gmt":"2021-03-24T12:32:12","guid":{"rendered":"https:\/\/kb.sambapos.com\/?p=25589"},"modified":"2021-03-24T12:32:13","modified_gmt":"2021-03-24T12:32:13","slug":"4-63-how-to-apply-discount-for-desired-items-on-desired-days-of-the-week","status":"publish","type":"post","link":"https:\/\/kb.sambapos.com\/en\/4-63-how-to-apply-discount-for-desired-items-on-desired-days-of-the-week\/","title":{"rendered":"4.63. How to Apply % Discount for Desired Items on Desired Days of the Week"},"content":{"rendered":"\n<p>In this document, it will be explained how to apply % discount for specific items on desired days of the week.<\/p>\n<p>\u00a0<\/p>\n<h3><strong>How It Works;<\/strong><\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-25609\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/25-Discount.gif\" alt=\"\" width=\"640\" height=\"331\" \/><\/p>\n<p>\u00a0<\/p>\n<h3><strong>1. Adding Discount Product Tag<\/strong><\/h3>\n<p><strong>Main Menu &gt; Manage &gt; Settings &gt; Program Settings &gt; General Settings &gt; Product Tag Captions &gt; <\/strong>In here, type <strong>Discount<\/strong> into the window.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-25590 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/Discount-for-Desired-Items-on-Desired-Days-01-1024x546.jpg\" alt=\"\" width=\"640\" height=\"341\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/Discount-for-Desired-Items-on-Desired-Days-01-1024x546.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/Discount-for-Desired-Items-on-Desired-Days-01-300x160.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/Discount-for-Desired-Items-on-Desired-Days-01-768x409.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/Discount-for-Desired-Items-on-Desired-Days-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>\u00a0<\/p>\n<h3><strong>2. Editing Discount Product Tag<\/strong><\/h3>\n<p><strong>Main Menu &gt; Manage &gt; Products &gt; Product Tag Editor &gt; <\/strong>Here, type Yes into the Discount Column of the items that % discount will be applied.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-25595 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/Discount-for-Desired-Items-on-Desired-Days-02-1024x546.jpg\" alt=\"\" width=\"640\" height=\"341\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/Discount-for-Desired-Items-on-Desired-Days-02-1024x546.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/Discount-for-Desired-Items-on-Desired-Days-02-300x160.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/Discount-for-Desired-Items-on-Desired-Days-02-768x409.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/Discount-for-Desired-Items-on-Desired-Days-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>\u00a0<\/p>\n<h3><strong>3. Adding Discount Account<\/strong><\/h3>\n<p><strong>Main Menu &gt; Manage &gt; Accounts &gt; Accounts &gt;\u00a0<\/strong>Here, click on <strong>Add Account.<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-25597 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/Discount-for-Desired-Items-on-Desired-Days-03-1024x546.jpg\" alt=\"\" width=\"640\" height=\"341\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/Discount-for-Desired-Items-on-Desired-Days-03-1024x546.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/Discount-for-Desired-Items-on-Desired-Days-03-300x160.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/Discount-for-Desired-Items-on-Desired-Days-03-768x409.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/Discount-for-Desired-Items-on-Desired-Days-03.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>\u00a0<\/p>\n<p><strong>Account Name:<\/strong> %25 Discount<\/p>\n<p><strong>Account Type:<\/strong> Discount Account<\/p>\n<p>After completing necessary editings, click on <strong>Save<\/strong> button.<\/p>\n<p>\u00a0<\/p>\n<h3><strong>4. Adding Discount Account Transaction<\/strong><\/h3>\n<p><strong>Main Menu &gt; Manage &gt; Accounts &gt;\u00a0 &gt; <\/strong>Here, click on <strong>Add Account Transaction Type.<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-25599 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/Discount-for-Desired-Items-on-Desired-Days-04-1024x546.jpg\" alt=\"\" width=\"640\" height=\"341\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/Discount-for-Desired-Items-on-Desired-Days-04-1024x546.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/Discount-for-Desired-Items-on-Desired-Days-04-300x160.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/Discount-for-Desired-Items-on-Desired-Days-04-768x409.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/Discount-for-Desired-Items-on-Desired-Days-04.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><strong>Account Transaction Type Name: <\/strong>%25 Discount Transaction<\/p>\n<p><strong>Source Account Type (Debit): <\/strong>Receivable Accounts<\/p>\n<p><strong>Target Account Type (Credit): <\/strong>Discount Accounts<\/p>\n<p><strong>Default Source Account: <\/strong>Receivables<\/p>\n<p><strong>Default Target Account: <\/strong>%25 Discount<\/p>\n<p>After completing necessary editings, click on <strong>Save<\/strong> button.<\/p>\n<p>\u00a0<\/p>\n<h3><strong>5. Adding Discount Calculation Type<\/strong><\/h3>\n<p><strong>Main Menu &gt; Manage &gt; Tickets &gt; Calculation Types &gt;\u00a0<\/strong>Here, click on <strong>Add Calculation Type.<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-25601 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/Discount-for-Desired-Items-on-Desired-Days-05-1024x546.jpg\" alt=\"\" width=\"640\" height=\"341\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/Discount-for-Desired-Items-on-Desired-Days-05-1024x546.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/Discount-for-Desired-Items-on-Desired-Days-05-300x160.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/Discount-for-Desired-Items-on-Desired-Days-05-768x409.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/Discount-for-Desired-Items-on-Desired-Days-05.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><strong>Template Name: <\/strong>%25 Discount<\/p>\n<p><strong>Account Transaction Type: <\/strong>%25 Discount Transaction<\/p>\n<p><strong>Calculation Method: <\/strong>Fixed Amount<\/p>\n<p><strong>Rate or Amount: <\/strong>0.00<\/p>\n<p><strong>Decrease Amount: <\/strong>This box must be selected.<\/p>\n<p>After completing necessary editings, click on <strong>Save<\/strong> button.<\/p>\n<p>\u00a0<\/p>\n<h3><strong>6. Adding Dicount Calculation Selector<\/strong><\/h3>\n<p><strong>Main Menu &gt; Manage &gt; Tickets &gt; Calculation Types &gt;\u00a0<\/strong>Here, click on <strong>Add Calculation Type.<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-25603 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/Discount-for-Desired-Items-on-Desired-Days-06-1024x546.jpg\" alt=\"\" width=\"640\" height=\"341\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/Discount-for-Desired-Items-on-Desired-Days-06-1024x546.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/Discount-for-Desired-Items-on-Desired-Days-06-300x160.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/Discount-for-Desired-Items-on-Desired-Days-06-768x409.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/Discount-for-Desired-Items-on-Desired-Days-06.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><strong>Name:<\/strong> %25 Discount<\/p>\n<p>Click on Add button of Calculation Type and select %25 Discount in the window.<\/p>\n<p>Leave empty the Mappings Section.<\/p>\n<p>After completing necessary editings, click on <strong>Save<\/strong> button.<\/p>\n<p>\u00a0<\/p>\n<h3><strong>7. Adding Discount Action<\/strong><\/h3>\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-25605 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/Discount-for-Desired-Items-on-Desired-Days-07-1024x546.jpg\" alt=\"\" width=\"640\" height=\"341\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/Discount-for-Desired-Items-on-Desired-Days-07-1024x546.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/Discount-for-Desired-Items-on-Desired-Days-07-300x160.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/Discount-for-Desired-Items-on-Desired-Days-07-768x409.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/Discount-for-Desired-Items-on-Desired-Days-07.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><strong>Action Name: <\/strong>%25 Discount<\/p>\n<p><strong>Action Type: <\/strong>Update Ticket Calculation<\/p>\n<p><strong>Parameters:<\/strong><\/p>\n<p><strong>Calculation Type: <\/strong>%25 Discount<\/p>\n<p><strong>Amount: <\/strong>[:Amount]<\/p>\n<p><strong>Round Amount:<\/strong>\u00a0True<\/p>\n<p>After completing necessary editings, click on <strong>Save<\/strong> button.<\/p>\n<p>\u00a0<\/p>\n<h3><strong>8. Adding Discount Rule<\/strong><\/h3>\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-25607 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/Discount-for-Desired-Items-on-Desired-Days-08-1024x546.jpg\" alt=\"\" width=\"640\" height=\"341\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/Discount-for-Desired-Items-on-Desired-Days-08-1024x546.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/Discount-for-Desired-Items-on-Desired-Days-08-300x160.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/Discount-for-Desired-Items-on-Desired-Days-08-768x410.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2021\/03\/Discount-for-Desired-Items-on-Desired-Days-08.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><strong>Rule Name:<\/strong> %25 Discount<\/p>\n<p><strong>Event Name:<\/strong> Ticket Total Changed<\/p>\n<p><strong>Execute Rule if:<\/strong> Matches<\/p>\n<p><strong>Add Custom Constraint:<\/strong><\/p>\n<p>Ticket Total|Not Equals|0<\/p>\n<p>{DATE:wd}|Equals|3<\/p>\n<p><strong>Select Action:<\/strong><\/p>\n<p><strong>Action Name:<\/strong> %25 Discount\u00a0<\/p>\n<p><strong>Amount: <\/strong><code>[=TN('{TICKET ORDER TOTAL EXP:(MT.Discount=Yes) and (ODI=True)}') * 0.25]<\/code><\/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 % discount for specific items on desired days of the week. \u00a0 How It Works; \u00a0 1. Adding Discount Product Tag Main Menu &gt; Manage &gt; Settings &gt; Program Settings &gt; General Settings &gt; Product Tag Captions &gt; In here, type Discount into the window. [&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,31],"tags":[],"class_list":["post-25589","post","type-post","status-publish","format-standard","hentry","category-customization","category-ozellestirme"],"_links":{"self":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/25589","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=25589"}],"version-history":[{"count":2,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/25589\/revisions"}],"predecessor-version":[{"id":28349,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/25589\/revisions\/28349"}],"wp:attachment":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/media?parent=25589"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/categories?post=25589"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/tags?post=25589"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}