{"id":25426,"date":"2020-12-23T08:17:58","date_gmt":"2020-12-23T08:17:58","guid":{"rendered":"https:\/\/kb.sambapos.com\/?p=25426"},"modified":"2020-12-23T08:17:59","modified_gmt":"2020-12-23T08:17:59","slug":"4-62-canceling-all-orders","status":"publish","type":"post","link":"https:\/\/kb.sambapos.com\/en\/4-62-canceling-all-orders\/","title":{"rendered":"4.62. Canceling All Orders"},"content":{"rendered":"\n<p>In this document it will be explained how to cancel all orders at the order screen.<\/p>\n<h3><strong>How It Works;<\/strong><\/h3>\n<h3><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-25438\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2020\/12\/Cancel-All-Orders.gif\" alt=\"\" width=\"640\" height=\"332\" \/><\/h3>\n<p>\u00a0<\/p>\n<h3><strong>1. Adding Automation Command<\/strong><\/h3>\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-25427 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2020\/12\/Cancel-Orders-01-1024x546.jpg\" alt=\"\" width=\"640\" height=\"341\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2020\/12\/Cancel-Orders-01-1024x546.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2020\/12\/Cancel-Orders-01-300x160.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2020\/12\/Cancel-Orders-01-768x409.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2020\/12\/Cancel-Orders-01.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><strong>Name:<\/strong> Cancel Orders<\/p>\n<p><strong>Button Header:<\/strong><span style=\"font-size: inherit;\"> Cancel\\rOrders<\/span><\/p>\n<p><strong>Clear Selection:<\/strong> Must be selected<\/p>\n<p><strong>Mappings Section;<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-25431 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2020\/12\/Cancel-Orders-02-1-1024x546.jpg\" alt=\"\" width=\"640\" height=\"341\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2020\/12\/Cancel-Orders-02-1-1024x546.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2020\/12\/Cancel-Orders-02-1-300x160.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2020\/12\/Cancel-Orders-02-1-768x409.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2020\/12\/Cancel-Orders-02-1.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>Add a line by clicking on Add button and configure settings according to above image.<\/p>\n<p><strong>Visible State:<\/strong> New Orders<\/p>\n<p><strong>Visibility:<\/strong> Ticket<\/p>\n<p>After completing necesssary editing, click on <strong>Save<\/strong> button.<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<h3><strong>2. Adding 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-25433 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2020\/12\/Cancel-Orders-03-1024x546.jpg\" alt=\"\" width=\"640\" height=\"341\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2020\/12\/Cancel-Orders-03-1024x546.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2020\/12\/Cancel-Orders-03-300x160.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2020\/12\/Cancel-Orders-03-768x409.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2020\/12\/Cancel-Orders-03.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><strong>Action Name:\u00a0<\/strong>Cancel All Orders<\/p>\n<p><strong>Action Type:<\/strong> Cancel Orders<\/p>\n<p><strong>Only Last Order:<\/strong> False<\/p>\n<p>After completing necesssary editing, click on <strong>Save<\/strong> button.<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<h3><strong>3. Adding 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-25435 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2020\/12\/Cancel-Orders-04-1024x546.jpg\" alt=\"\" width=\"640\" height=\"341\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2020\/12\/Cancel-Orders-04-1024x546.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2020\/12\/Cancel-Orders-04-300x160.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2020\/12\/Cancel-Orders-04-768x409.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2020\/12\/Cancel-Orders-04.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><strong>Rule Name:<\/strong> Cancel All Orders<\/p>\n<p><strong>Event Name:<\/strong> Automation 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|Equeal|Cancel Orders<\/p>\n<p><strong>Select Actions:<\/strong><\/p>\n<p><strong>Action: Cancel All Orders<\/strong><\/p>\n<p>After completing necesssary editing, click on <strong>Save<\/strong> button.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this document it will be explained how to cancel all orders at the order screen. How It Works; \u00a0 1. Adding Automation Command Main Menu &gt; Manage &gt; Automation &gt; Automation Commands &gt; Here, click on Add Automation Command. General Settings Section; Name: Cancel Orders Button Header: Cancel\\rOrders Clear Selection: Must be selected 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-25426","post","type-post","status-publish","format-standard","hentry","category-customization"],"_links":{"self":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/25426","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=25426"}],"version-history":[{"count":2,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/25426\/revisions"}],"predecessor-version":[{"id":25440,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/25426\/revisions\/25440"}],"wp:attachment":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/media?parent=25426"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/categories?post=25426"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/tags?post=25426"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}