{"id":135383,"date":"2021-01-20T21:31:03","date_gmt":"2021-01-20T21:31:03","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/stock-triggers-for-woocommerce\/"},"modified":"2025-09-09T17:07:16","modified_gmt":"2025-09-09T17:07:16","slug":"stock-triggers-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/cl.wordpress.org\/plugins\/stock-triggers-for-woocommerce\/","author":18216844,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.8.2","stable_tag":"1.8.2","tested":"6.8.5","requires":"4.4","requires_php":"","requires_plugins":null,"header_name":"Automated Stock Update Triggers for WooCommerce","header_author":"WPFactory","header_description":"Automatic product stock increase\/decrease actions for WooCommerce.","assets_banners_color":"c8eff2","last_updated":"2025-09-09 17:07:16","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wpfactory.com\/item\/stock-triggers-for-woocommerce\/","header_author_uri":"https:\/\/wpfactory.com","rating":5,"author_block_rating":0,"active_installs":80,"downloads":4907,"num_ratings":6,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.3.0":{"tag":"1.3.0","author":"algoritmika","date":"2021-01-20 21:31:27"},"1.3.1":{"tag":"1.3.1","author":"algoritmika","date":"2021-03-31 14:40:23"},"1.4.0":{"tag":"1.4.0","author":"algoritmika","date":"2021-06-26 19:03:26"},"1.5.0":{"tag":"1.5.0","author":"algoritmika","date":"2021-07-12 02:41:50"},"1.5.1":{"tag":"1.5.1","author":"algoritmika","date":"2021-07-12 02:58:23"},"1.5.2":{"tag":"1.5.2","author":"algoritmika","date":"2021-08-17 14:26:02"},"1.5.3":{"tag":"1.5.3","author":"algoritmika","date":"2021-09-07 18:44:50"},"1.6.0":{"tag":"1.6.0","author":"algoritmika","date":"2021-11-25 22:04:31"},"1.6.1":{"tag":"1.6.1","author":"algoritmika","date":"2022-04-21 14:14:25"},"1.6.2":{"tag":"1.6.2","author":"wpcodefactory","date":"2022-08-14 23:43:37"},"1.6.3":{"tag":"1.6.3","author":"wpcodefactory","date":"2023-05-18 15:22:17"},"1.6.4":{"tag":"1.6.4","author":"wpcodefactory","date":"2023-05-22 10:58:21"},"1.6.5":{"tag":"1.6.5","author":"wpcodefactory","date":"2023-06-18 16:47:53"},"1.6.6":{"tag":"1.6.6","author":"wpcodefactory","date":"2023-07-11 12:45:06"},"1.6.7":{"tag":"1.6.7","author":"wpcodefactory","date":"2023-09-26 18:47:25"},"1.7.0":{"tag":"1.7.0","author":"wpcodefactory","date":"2024-06-20 08:21:28"},"1.7.1":{"tag":"1.7.1","author":"algoritmika","date":"2024-06-30 12:47:06"},"1.7.2":{"tag":"1.7.2","author":"wpcodefactory","date":"2024-07-31 06:16:58"},"1.7.3":{"tag":"1.7.3","author":"wpcodefactory","date":"2024-08-01 18:27:46"},"1.8.0":{"tag":"1.8.0","author":"wpcodefactory","date":"2024-11-08 12:35:44"},"1.8.1":{"tag":"1.8.1","author":"wpcodefactory","date":"2025-06-29 14:41:37"},"1.8.2":{"tag":"1.8.2","author":"wpcodefactory","date":"2025-09-09 17:07:16"}},"upgrade_notice":{"1.0.0":"<p>This is the first release of the plugin.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":6},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2971968,"resolution":"128x128","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":2971968,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2971968,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2971968,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.3.0","1.3.1","1.4.0","1.5.0","1.5.1","1.5.2","1.5.3","1.6.0","1.6.1","1.6.2","1.6.3","1.6.4","1.6.5","1.6.6","1.6.7","1.7.0","1.7.1","1.7.2","1.7.3","1.8.0","1.8.1","1.8.2"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[12448,288,286],"plugin_category":[45],"plugin_contributors":[78783,80665,178791,189606],"plugin_business_model":[216238],"class_list":["post-135383","plugin","type-plugin","status-publish","hentry","plugin_tags-stock","plugin_tags-woo-commerce","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-anbinder","plugin_contributors-karzin","plugin_contributors-omardabbas","plugin_contributors-wpcodefactory","plugin_business_model-commercial","plugin_committers-algoritmika","plugin_committers-wpcodefactory","plugin_support_reps-tahaamin"],"banners":{"banner":"https:\/\/ps.w.org\/stock-triggers-for-woocommerce\/assets\/banner-772x250.png?rev=2971968","banner_2x":"https:\/\/ps.w.org\/stock-triggers-for-woocommerce\/assets\/banner-1544x500.png?rev=2971968","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/stock-triggers-for-woocommerce\/assets\/icon.svg?rev=2971968","icon":"https:\/\/ps.w.org\/stock-triggers-for-woocommerce\/assets\/icon.svg?rev=2971968","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p><strong>Stock Triggers for WooCommerce<\/strong> plugin lets you control which actions automatically decrease or increase your product stock.<\/p>\n\n<h3>&#9989; Stock Triggers<\/h3>\n\n<ul>\n<li>Order status: Cancelled<\/li>\n<li>Order status: Completed<\/li>\n<li>Order status: Failed<\/li>\n<li>Order status: On hold<\/li>\n<li>Order status: Pending payment<\/li>\n<li>Order status: Processing<\/li>\n<li>Order status: Refunded<\/li>\n<li>Payment complete<\/li>\n<li>Checkout order processed<\/li>\n<\/ul>\n\n<p>In addition, there are a number of <strong>admin<\/strong> options, like running decrease or increase actions manually via the <strong>\"Bulk actions\"<\/strong> dropdown in admin orders list, or setting stock actions to be performed on <strong>new order by admin<\/strong>.<\/p>\n\n<h3>&#127942; Premium Version<\/h3>\n\n<p><a href=\"https:\/\/wpfactory.com\/item\/stock-triggers-for-woocommerce\/\">Stock Triggers for WooCommerce Pro<\/a> plugin version will add <strong>custom order statuses<\/strong> to the triggers list. And in addition, it will allow you to set <strong>custom triggers<\/strong> directly, by typing action names.<\/p>\n\n<h3>&#128472; Feedback<\/h3>\n\n<ul>\n<li>We are open to your suggestions and feedback. Thank you for using or trying out one of our plugins!<\/li>\n<li><a href=\"https:\/\/wpfactory.com\/item\/stock-triggers-for-woocommerce\/\">Visit plugin site<\/a>.<\/li>\n<\/ul>\n\n<h3>&#8505; More<\/h3>\n\n<ul>\n<li>The plugin is <strong>\"High-Performance Order Storage (HPOS)\"<\/strong> compatible.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the entire plugin folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the \"Plugins\" menu in WordPress.<\/li>\n<li>Start by visiting plugin settings at \"WPFactory &gt; Stock Triggers\".<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.8.2 - 09\/09\/2025<\/h4>\n\n<ul>\n<li>WC tested up to: 10.1.<\/li>\n<\/ul>\n\n<h4>1.8.1 - 29\/06\/2025<\/h4>\n\n<ul>\n<li>Dev - WPFactory Admin Menu - Library updated.<\/li>\n<li>Dev - WPFactory Admin Menu - Moved to the <code>init<\/code> hook.<\/li>\n<li>Dev - WPFactory Admin Menu - Plugin icon added.<\/li>\n<li>Dev - WPFactory Recommendations - Moved to the <code>init<\/code> hook.<\/li>\n<li>Dev - WPFactory Key Manager - Library updated.<\/li>\n<li>Dev - WPFactory Key Manager - Moved to the <code>init<\/code> hook.<\/li>\n<li>WC tested up to: 9.9.<\/li>\n<li>Tested up to: 6.8.<\/li>\n<\/ul>\n\n<h4>1.8.0 - 08\/11\/2024<\/h4>\n\n<ul>\n<li>Dev - Security - Output escaped.<\/li>\n<li>Dev - Plugin settings moved to the \"WPFactory\" menu.<\/li>\n<li>Dev - \"Recommendations\" added.<\/li>\n<li>Dev - \"Key Manager\" added.<\/li>\n<li>Dev - Code refactoring.<\/li>\n<li>Dev - Coding standards improved.<\/li>\n<li>WC tested up to: 9.3.<\/li>\n<li>Plugin name updated.<\/li>\n<\/ul>\n\n<h4>1.7.3 - 01\/08\/2024<\/h4>\n\n<ul>\n<li>Dev - Triggers - \"Checkout update order meta\" trigger added.<\/li>\n<\/ul>\n\n<h4>1.7.2 - 31\/07\/2024<\/h4>\n\n<ul>\n<li>WC tested up to: 9.1.<\/li>\n<li>Tested up to: 6.6.<\/li>\n<\/ul>\n\n<h4>1.7.1 - 30\/06\/2024<\/h4>\n\n<ul>\n<li>Dev - Admin - Admin new order - \"Maybe increase\" and \"Maybe decrease\" options added.<\/li>\n<\/ul>\n\n<h4>1.7.0 - 20\/06\/2024<\/h4>\n\n<ul>\n<li>Dev - \"High-Performance Order Storage (HPOS)\" compatibility.<\/li>\n<li>Dev - PHP 8.2 compatibility - \"Creation of dynamic property is deprecated\" notice fixed.<\/li>\n<li>WC tested up to: 9.0.<\/li>\n<li>Tested up to: 6.5.<\/li>\n<li>WooCommerce added to the \"Requires Plugins\" (plugin header).<\/li>\n<\/ul>\n\n<h4>1.6.7 - 27\/09\/2023<\/h4>\n\n<ul>\n<li>WC tested up to: 8.1.<\/li>\n<li>Tested up to: 6.3.<\/li>\n<li>Plugin icon, banner updated.<\/li>\n<\/ul>\n\n<h4>1.6.6 - 11\/07\/2023<\/h4>\n\n<ul>\n<li>Fix - Admin settings - Possible PHP warning fixed.<\/li>\n<\/ul>\n\n<h4>1.6.5 - 18\/06\/2023<\/h4>\n\n<ul>\n<li>WC tested up to: 7.8.<\/li>\n<\/ul>\n\n<h4>1.6.4 - 22\/05\/2023<\/h4>\n\n<ul>\n<li>Plugin author updated.<\/li>\n<\/ul>\n\n<h4>1.6.3 - 18\/05\/2023<\/h4>\n\n<ul>\n<li>Dev - Developers - <code>alg_wc_stock_triggers_function_decrease<\/code> and <code>alg_wc_stock_triggers_function_increase<\/code> filters added.<\/li>\n<li>WC tested up to: 7.7.<\/li>\n<li>Tested up to: 6.2.<\/li>\n<\/ul>\n\n<h4>1.6.2 - 13\/08\/2022<\/h4>\n\n<ul>\n<li>Dev - Remove standard triggers - \"B2BKing Pro\" compatibility added.<\/li>\n<li>Deploy script added.<\/li>\n<li>WC tested up to: 6.8.<\/li>\n<li>Tested up to: 6.0.<\/li>\n<\/ul>\n\n<h4>1.6.1 - 21\/04\/2022<\/h4>\n\n<ul>\n<li>Admin settings - \"Admin\" section added: \"Admin Order Options\" and \"Advanced Options\" moved from the \"General\" settings section.<\/li>\n<li>WC tested up to: 6.4.<\/li>\n<li>Tested up to: 5.9.<\/li>\n<\/ul>\n\n<h4>1.6.0 - 25\/11\/2021<\/h4>\n\n<ul>\n<li>Dev - \"Require products\" and \"Require product categories\" options added.<\/li>\n<li>Dev - \"Remove standard triggers\" options added.<\/li>\n<li>Dev - Code refactoring.<\/li>\n<li>WC tested up to: 5.9.<\/li>\n<\/ul>\n\n<h4>1.5.3 - 07\/09\/2021<\/h4>\n\n<ul>\n<li>Dev - \"Bulk actions\" option added.<\/li>\n<li>WC tested up to: 5.6.<\/li>\n<\/ul>\n\n<h4>1.5.2 - 17\/08\/2021<\/h4>\n\n<ul>\n<li>Dev - Localisation - Chinese (<code>zh_CN<\/code>) translation added (by @tangzhehao).<\/li>\n<li>WC tested up to: 5.5.<\/li>\n<li>Tested up to: 5.8.<\/li>\n<\/ul>\n\n<h4>1.5.1 - 12\/07\/2021<\/h4>\n\n<ul>\n<li>Dev - Settings - Descriptions updated.<\/li>\n<\/ul>\n\n<h4>1.5.0 - 12\/07\/2021<\/h4>\n\n<ul>\n<li>Fix - \"Undefined property: ...\" notice fixed in admin settings (when \"Enable plugin\" option is disabled).<\/li>\n<li>Dev - Admin Order Options - \"Adjust line item product stock\" options added.<\/li>\n<li>Dev - Settings - \"General Options\" subsection renamed to \"Admin Order Options\".<\/li>\n<\/ul>\n\n<h4>1.4.0 - 26\/06\/2021<\/h4>\n\n<ul>\n<li>Dev - \"Force order stock update\" options added.<\/li>\n<li>Dev - Debug - Log file name updated (from <code>alg-wc-stock-triggers<\/code> to <code>stock-triggers<\/code>).<\/li>\n<li>Dev - Main init priority increased to <code>PHP_INT_MAX<\/code>.<\/li>\n<li>Dev - Plugin is initialized on <code>plugins_loaded<\/code> now.<\/li>\n<li>Dev - Code refactoring.<\/li>\n<li>WC tested up to: 5.4.<\/li>\n<\/ul>\n\n<h4>1.3.1 - 31\/03\/2021<\/h4>\n\n<ul>\n<li>Dev - Advanced - Debug - More info added to the log.<\/li>\n<li>Dev - Settings - Order status names are now translated (text domain changed from <code>stock-triggers-for-woocommerce<\/code> to <code>woocommerce<\/code>).<\/li>\n<li>Dev - Settings - Descriptions updated.<\/li>\n<li>WC tested up to: 5.1.<\/li>\n<li>Tested up to: 5.7.<\/li>\n<\/ul>\n\n<h4>1.3.0 - 20\/01\/2021<\/h4>\n\n<ul>\n<li>Dev - Localisation - <code>load_plugin_textdomain()<\/code> function moved to the <code>init<\/code> action.<\/li>\n<li>Dev - Admin settings restyled.<\/li>\n<li>Free plugin version released.<\/li>\n<li>WC tested up to: 4.9.<\/li>\n<\/ul>\n\n<h4>1.2.0 - 23\/12\/2020<\/h4>\n\n<ul>\n<li>Dev - General - \"Restore stock on admin new order\" option renamed to \"Admin new order\", converted to a select box (i.e., vs checkbox), and new \"Decrease\" option added.<\/li>\n<li>Dev - Triggers - \"Checkout order processed\" trigger added.<\/li>\n<li>Dev - Advanced - \"Debug\" option added.<\/li>\n<li>WC tested up to: 4.8.<\/li>\n<li>Tested up to: 5.6.<\/li>\n<\/ul>\n\n<h4>1.1.1 - 07\/10\/2020<\/h4>\n\n<ul>\n<li>Dev - \"Restore stock on admin new order\" option added.<\/li>\n<li>Dev - Code refactoring.<\/li>\n<li>WC tested up to: 4.5.<\/li>\n<li>Tested up to: 5.5.<\/li>\n<\/ul>\n\n<h4>1.1.0 - 27\/03\/2020<\/h4>\n\n<ul>\n<li>Fix - Removing actions with <code>0<\/code> priority now.<\/li>\n<li>Dev - Code refactoring.<\/li>\n<li>Dev - Admin settings descriptions updated.<\/li>\n<li>WC tested up to: 4.0.<\/li>\n<li>Tested up to: 5.3.<\/li>\n<\/ul>\n\n<h4>1.0.0 - 03\/08\/2019<\/h4>\n\n<ul>\n<li>Initial Release.<\/li>\n<\/ul>","raw_excerpt":"Automatic product stock increase\/decrease actions for WooCommerce.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/135383","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=135383"}],"author":[{"embeddable":true,"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/wpcodefactory"}],"wp:attachment":[{"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=135383"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=135383"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=135383"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=135383"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=135383"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=135383"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}