{"id":67944,"date":"2017-05-04T05:01:39","date_gmt":"2017-05-04T05:01:39","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/prevent-customers-to-cancel-woocommerce-orders\/"},"modified":"2021-07-21T03:55:28","modified_gmt":"2021-07-21T03:55:28","slug":"woo-prevent-cancel-order","status":"publish","type":"plugin","link":"https:\/\/sa.wordpress.org\/plugins\/woo-prevent-cancel-order\/","author":15379130,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2","stable_tag":"trunk","tested":"5.8.13","requires":"1.3","requires_php":"5.6","requires_plugins":"","header_name":"Prevent Customers To Cancel WooCommerce Orders","header_author":"Tyche Softwares","header_description":"This plugin prevents customers from cancelling a WooCommerce order. It will hide the Cancel button on My Account page for all user roles, except administrator & shop manager.","assets_banners_color":"d2b0cc","last_updated":"2021-07-21 03:55:28","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.me\/TycheSoftwares","header_plugin_uri":"https:\/\/www.tychesoftwares.com\/","header_author_uri":"http:\/\/www.tychesoftwares.com\/about","rating":5,"author_block_rating":0,"active_installs":400,"downloads":5806,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.2":{"tag":"1.2","author":"tychesoftwares","date":"2020-12-21 13:24:52"}},"upgrade_notice":{"":"<p>Initial release<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":1650833,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":1650833,"resolution":"256x256","location":"assets","locale":""},"icon-512x512.png":{"filename":"icon-512x512.png","revision":1650833,"resolution":"512x512","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":1765887,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":1765887,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":1650833,"resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"Cancel button hidden for Customer on My Account page."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[64245],"plugin_category":[],"plugin_contributors":[79680,138789],"plugin_business_model":[],"class_list":["post-67944","plugin","type-plugin","status-publish","hentry","plugin_tags-woocommerce-cancel-order","plugin_contributors-ashokrane","plugin_contributors-tychesoftwares","plugin_committers-ashokrane","plugin_committers-tychesoftwares"],"banners":{"banner":"https:\/\/ps.w.org\/woo-prevent-cancel-order\/assets\/banner-772x250.png?rev=1765887","banner_2x":"https:\/\/ps.w.org\/woo-prevent-cancel-order\/assets\/banner-1544x500.png?rev=1765887","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/woo-prevent-cancel-order\/assets\/icon-128x128.png?rev=1650833","icon_2x":"https:\/\/ps.w.org\/woo-prevent-cancel-order\/assets\/icon-256x256.png?rev=1650833","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/woo-prevent-cancel-order\/assets\/screenshot-1.png?rev=1650833","caption":"Cancel button hidden for Customer on My Account page."}],"raw_content":"<!--section=description-->\n<p>This plugin prevents customers from cancelling a WooCommerce order. It will hide the Cancel button on My Account page for all user roles, except administrator.<\/p>\n\n<p>The plugin also prevents an order from being cancelled directly via the URL.<\/p>\n\n<p>The plugin doesn't have any settings. When activated, it will prevent all roles except the administrator to cancel any WooCommerce orders.<\/p>\n\n<p><strong>Some of our Pro plugins:<\/strong><\/p>\n\n<ol>\n<li><p><strong><a href=\"https:\/\/www.tychesoftwares.com\/store\/premium-plugins\/woocommerce-booking-plugin\/?utm_source=wprepo&amp;utm_medium=link&amp;utm_campaign=PreventCancelOrdersLite\" title=\"Booking &amp; Appointment Plugin for WooCommerce\">Booking &amp; Appointment Plugin for WooCommerce<\/a><\/strong><\/p><\/li>\n<li><p><strong><a href=\"https:\/\/www.tychesoftwares.com\/store\/premium-plugins\/order-delivery-date-for-woocommerce-pro-21\/?utm_source=wprepo&amp;utm_medium=link&amp;utm_campaign=PreventCancelOrdersLite\" title=\"Order Delivery Date Pro for WooCommerce\">Order Delivery Date Pro for WooCommerce<\/a><\/strong><\/p><\/li>\n<li><p><strong><a href=\"https:\/\/www.tychesoftwares.com\/store\/premium-plugins\/woocommerce-abandoned-cart-pro\/?utm_source=wprepo&amp;utm_medium=link&amp;utm_campaign=PreventCancelOrdersLite\" title=\"Abandoned Cart Pro for WooCommerce\">Abandoned Cart Pro for WooCommerce<\/a><\/strong><\/p><\/li>\n<li><p><strong><a href=\"https:\/\/www.tychesoftwares.com\/store\/premium-plugins\/product-delivery-date-pro-for-woocommerce\/?utm_source=wprepo&amp;utm_medium=link&amp;utm_campaign=PreventCancelOrdersLite\" title=\"Product Delivery Date Pro for WooCommerce\">Product Delivery Date Pro for WooCommerce<\/a><\/strong><\/p><\/li>\n<li><p><strong><a href=\"https:\/\/www.tychesoftwares.com\/store\/premium-plugins\/deposits-for-woocommerce\/?utm_source=wprepo&amp;utm_medium=link&amp;utm_campaign=PreventCancelOrdersLite\" title=\"Deposits For WooCommerce\">Deposits For WooCommerce<\/a><\/strong><\/p><\/li>\n<li><p><strong><a href=\"https:\/\/www.tychesoftwares.com\/store\/premium-PreventCancelOrdersLite\/payment-gateway-based-fees-and-discounts-for-woocommerce-plugin\/?utm_source=wprepo&amp;utm_medium=link&amp;utm_campaign=WCDeliveryNotes\" title=\"Payment Gateway Based Fees and Discounts for WooCommerce\">Payment Gateway Based Fees and Discounts for WooCommerce<\/a><\/strong><\/p><\/li>\n<li><p><strong><a href=\"https:\/\/www.tychesoftwares.com\/store\/premium-plugins\/custom-order-status-woocommerce\/?utm_source=wprepo&amp;utm_medium=link&amp;utm_campaign=PreventCancelOrdersLite\" title=\"Custom Order Status for WooCommerce\">Custom Order Status for WooCommerce<\/a><\/strong><\/p><\/li>\n<li><p><strong><a href=\"https:\/\/www.tychesoftwares.com\/store\/premium-plugins\/custom-order-numbers-woocommerce\/?utm_source=wprepo&amp;utm_medium=link&amp;utm_campaign=PreventCancelOrdersLite\" title=\"Custom Order Numbers for WooCommerce\">Custom Order Numbers for WooCommerce<\/a><\/strong><\/p><\/li>\n<li><p><strong><a href=\"https:\/\/www.tychesoftwares.com\/store\/premium-plugins\/product-input-fields-for-woocommerce\/?utm_source=wprepo&amp;utm_medium=link&amp;utm_campaign=PreventCancelOrdersLite\" title=\"Product Input Fields for WooCommerce\">Product Input Fields for WooCommerce<\/a><\/strong><\/p><\/li>\n<li><p><strong><a href=\"https:\/\/www.tychesoftwares.com\/store\/premium-plugins\/woocommerce-call-for-price-plugin\/?utm_source=wprepo&amp;utm_medium=link&amp;utm_campaign=PreventCancelOrdersLite\" title=\"Call for Price for WooCommerce\">Call for Price for WooCommerce<\/a><\/strong><\/p><\/li>\n<li><p><strong><a href=\"https:\/\/www.tychesoftwares.com\/store\/premium-plugins\/price-user-role-woocommerce\/?utm_source=wprepo&amp;utm_medium=link&amp;utm_campaign=PreventCancelOrdersLite\" title=\"Price based on User Role for WooCommerce\">Price based on User Role for WooCommerce<\/a><\/strong><\/p><\/li>\n<li><p><strong><a href=\"https:\/\/www.tychesoftwares.com\/store\/premium-plugins\/currency-per-product-for-woocommerce\/?utm_source=wprepo&amp;utm_medium=link&amp;utm_campaign=PreventCancelOrdersLite\" title=\"Currency per Product for WooCommerce\">Currency per Product for WooCommerce<\/a><\/strong><\/p><\/li>\n<\/ol>\n\n<p><strong>Some of our other free plugins:<\/strong><\/p>\n\n<ol>\n<li><p><strong><a href=\"https:\/\/wordpress.org\/plugins\/woocommerce-abandoned-cart\/\" title=\"Abandoned Cart for WooCommerce\">Abandoned Cart for WooCommerce<\/a><\/strong><\/p><\/li>\n<li><p><strong><a href=\"https:\/\/wordpress.org\/plugins\/order-delivery-date-for-woocommerce\/\" title=\"Order Delivery Date for WooCommerce - Lite\">Order Delivery Date for WooCommerce - Lite<\/a><\/strong><\/p><\/li>\n<li><p><strong><a href=\"https:\/\/wordpress.org\/plugins\/product-delivery-date-for-woocommerce-lite\/\" title=\"Product Delivery Date for WooCommerce\">Product Delivery Date for WooCommerce - Lite<\/a><\/strong><\/p><\/li>\n<li><p><strong><a href=\"https:\/\/wordpress.org\/plugins\/woocommerce-delivery-notes\/\" title=\"WooCommerce Print Invoice &amp; Delivery Note\">WooCommerce Print Invoice &amp; Delivery Note<\/a><\/strong><\/p><\/li>\n<li><p><strong><a href=\"https:\/\/wordpress.org\/plugins\/checkout-fees-for-woocommerce\/\" title=\"Payment Gateway Based Fees and Discounts for WooCommerce\">Payment Gateway Based Fees and Discounts for WooCommerce<\/a><\/strong><\/p><\/li>\n<li><p><strong><a href=\"https:\/\/wordpress.org\/plugins\/custom-order-statuses-woocommerce\/\" title=\"Custom Order Status for WooCommerce\">Custom Order Status for WooCommerce<\/a><\/strong><\/p><\/li>\n<li><p><strong><a href=\"https:\/\/wordpress.org\/plugins\/custom-order-numbers-for-woocommerce\/\" title=\"Custom Order Numbers for WooCommerce\">Custom Order Numbers for WooCommerce<\/a><\/strong><\/p><\/li>\n<li><p><strong><a href=\"https:\/\/wordpress.org\/plugins\/product-input-fields-for-woocommerce\/\" title=\"Product Input Fields for WooCommerce\">Product Input Fields for WooCommerce<\/a><\/strong><\/p><\/li>\n<li><p><strong><a href=\"https:\/\/wordpress.org\/plugins\/woocommerce-call-for-price\/\" title=\"Call for Price for WooCommerce\">Call for Price for WooCommerce<\/a><\/strong><\/p><\/li>\n<li><p><strong><a href=\"https:\/\/wordpress.org\/plugins\/price-by-user-role-for-woocommerce\/\" title=\"Price based on User Role for WooCommerce\">Price based on User Role for WooCommerce<\/a><\/strong><\/p><\/li>\n<li><p><strong><a href=\"https:\/\/wordpress.org\/plugins\/currency-per-product-for-woocommerce\/\" title=\"Currency per Product for WooCommerce\">Currency per Product for WooCommerce<\/a><\/strong><\/p><\/li>\n<\/ol>\n\n<!--section=installation-->\n<p>Method 1:<\/p>\n\n<ol>\n<li> Go to WordPress Dashboard-&gt;Plugins-&gt;Add New <\/li>\n<li> Search Prevent Customers To Cancel WooCommerce Orders using search option <\/li>\n<li> Find the plugin and click Install Now button <\/li>\n<li> After installation, click on Activate Plugin link to activate the plugin. <\/li>\n<\/ol>\n\n<p>Method 2:<\/p>\n\n<ol>\n<li> Download the plugin file woocommerce-prevent-cancel-order.zip <\/li>\n<li> Unpack the woocommerce-prevent-cancel-order.zip file and extract the woocommerce-prevent-cancel-order folder <\/li>\n<li> Upload the plugin folder to your \/wp-content\/plugins\/ directory <\/li>\n<li> Go to WordPress dashboard, click on Plugins from the menu <\/li>\n<li> Locate the Prevent Customers To Cancel WooCommerce Orders plugin and click on Activate link to activate the plugin. <\/li>\n<\/ol>\n\n<p>Method 3:<\/p>\n\n<ol>\n<li> Download the plugin woocommerce-prevent-cancel-order.zip <\/li>\n<li> Go to WordPress Dashboard-Plugins-Add New <\/li>\n<li> Click on Upload Plugin link from top <\/li>\n<li> Upload the downloaded woocommerce-prevent-cancel-order.zip file and click on Install Now <\/li>\n<li> After installation, click on Activate Plugin link to activate the plugin. <\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='where%20are%20the%20options%20for%20this%20plugin%20in%20admin%3F'><h3>Where are the options for this plugin in admin?<\/h3><\/dt>\n<dd><p>This plugin currently has no settings in admin. Upon activation, all roles except administrator will not be able to cancel WooCommerce orders.<\/p><\/dd>\n<dt id='can%20i%20prevent%20some%20other%20roles%20apart%20from%20administrator%20to%20be%20able%20to%20cancel%20the%20order%3F'><h3>Can I prevent some other roles apart from administrator to be able to cancel the order?<\/h3><\/dt>\n<dd><p>Currently it is not possible to specify additional roles.<\/p><\/dd>\n<dt id='does%20this%20plugin%20have%20a%20pro%20version%3F'><h3>Does this plugin have a Pro version?<\/h3><\/dt>\n<dd><p>Currently there is no Pro version of this plugin.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2 (16.11.2019)<\/h4>\n\n<ul>\n<li>Updated plugin as per WPCS standards.<\/li>\n<\/ul>\n\n<h4>1.1 (04.05.2017)<\/h4>\n\n<ul>\n<li>Changed priority of function in the plugin so it executes after other plugins have done their actions.<\/li>\n<\/ul>\n\n<h4>1.0 (04.05.2017)<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"This plugin prevents customers from cancelling a WooCommerce order. It will hide the Cancel button on My Account page for all user roles, except admin &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/67944","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=67944"}],"author":[{"embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/tychesoftwares"}],"wp:attachment":[{"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=67944"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=67944"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=67944"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=67944"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=67944"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=67944"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}