{"id":127809,"date":"2020-08-28T13:07:31","date_gmt":"2020-08-28T13:07:31","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/wpfactory-conditional-shipping-for-woocommerce\/"},"modified":"2025-10-15T19:07:32","modified_gmt":"2025-10-15T19:07:32","slug":"wpfactory-conditional-shipping-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/pan.wordpress.org\/plugins\/wpfactory-conditional-shipping-for-woocommerce\/","author":18216844,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.1.2","stable_tag":"2.1.2","tested":"6.8.5","requires":"4.4","requires_php":"","requires_plugins":null,"header_name":"Conditional Shipping for WooCommerce: Restrict Shipping Options by Anything","header_author":"WPFactory","header_description":"Set conditions for WooCommerce shipping methods to show up.","assets_banners_color":"bdedf4","last_updated":"2025-10-15 19:07:32","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wpfactory.com\/item\/conditional-shipping-for-woocommerce\/","header_author_uri":"https:\/\/wpfactory.com","rating":5,"author_block_rating":0,"active_installs":400,"downloads":10502,"num_ratings":2,"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":"2020-08-28 13:07:33"},"1.4.0":{"tag":"1.4.0","author":"algoritmika","date":"2021-01-04 22:56:47"},"1.5.0":{"tag":"1.5.0","author":"algoritmika","date":"2021-09-08 23:07:04"},"1.6.0":{"tag":"1.6.0","author":"algoritmika","date":"2021-12-29 00:37:10"},"1.6.1":{"tag":"1.6.1","author":"algoritmika","date":"2022-04-13 14:59:57"},"1.6.2":{"tag":"1.6.2","author":"wpcodefactory","date":"2022-11-14 22:53:10"},"1.7.0":{"tag":"1.7.0","author":"wpcodefactory","date":"2023-05-19 19:08:21"},"1.7.1":{"tag":"1.7.1","author":"wpcodefactory","date":"2023-05-25 08:11:51"},"1.7.2":{"tag":"1.7.2","author":"wpcodefactory","date":"2023-06-18 18:21:31"},"1.7.3":{"tag":"1.7.3","author":"wpcodefactory","date":"2023-09-24 16:06:29"},"1.7.4":{"tag":"1.7.4","author":"wpcodefactory","date":"2023-11-20 17:12:55"},"1.8.0":{"tag":"1.8.0","author":"wpcodefactory","date":"2024-03-15 08:21:02"},"1.9.0":{"tag":"1.9.0","author":"wpcodefactory","date":"2024-05-24 11:24:16"},"1.9.1":{"tag":"1.9.1","author":"wpcodefactory","date":"2024-07-31 06:35:36"},"1.9.2":{"tag":"1.9.2","author":"wpcodefactory","date":"2024-09-18 08:35:16"},"2.0.0":{"tag":"2.0.0","author":"wpcodefactory","date":"2024-11-06 06:49:31"},"2.1.0":{"tag":"2.1.0","author":"wpcodefactory","date":"2025-06-30 18:19:50"},"2.1.1":{"tag":"2.1.1","author":"wpcodefactory","date":"2025-09-09 16:04:10"},"2.1.2":{"tag":"2.1.2","author":"wpcodefactory","date":"2025-10-15 19:07:32"}},"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":2},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2970917,"resolution":"128x128","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":2970917,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2970917,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2970917,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.3.0","1.4.0","1.5.0","1.6.0","1.6.1","1.6.2","1.7.0","1.7.1","1.7.2","1.7.3","1.7.4","1.8.0","1.9.0","1.9.1","1.9.2","2.0.0","2.1.0","2.1.1","2.1.2"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[146193,3546,9190,286,5023],"plugin_category":[45],"plugin_contributors":[78783,80665,178791,189606],"plugin_business_model":[216238],"class_list":["post-127809","plugin","type-plugin","status-publish","hentry","plugin_tags-conditional-shipping","plugin_tags-shipping","plugin_tags-shipping-method","plugin_tags-woocommerce","plugin_tags-woocommerce-shipping","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-anbinder","plugin_support_reps-karzin","plugin_support_reps-tahaamin"],"banners":{"banner":"https:\/\/ps.w.org\/wpfactory-conditional-shipping-for-woocommerce\/assets\/banner-772x250.png?rev=2970917","banner_2x":"https:\/\/ps.w.org\/wpfactory-conditional-shipping-for-woocommerce\/assets\/banner-1544x500.png?rev=2970917","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/wpfactory-conditional-shipping-for-woocommerce\/assets\/icon.svg?rev=2970917","icon":"https:\/\/ps.w.org\/wpfactory-conditional-shipping-for-woocommerce\/assets\/icon.svg?rev=2970917","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p><strong>WPFactory Conditional Shipping for WooCommerce<\/strong> plugin lets you set conditions for WooCommerce shipping methods to show up.<\/p>\n\n<h3>&#9989; Shipping Method Conditions<\/h3>\n\n<p>You can set these conditions for shipping methods:<\/p>\n\n<ul>\n<li>Minimum or Maximum <strong>Order Amount<\/strong><\/li>\n<li>Require or Exclude <strong>Cities<\/strong><\/li>\n<li>Require or Exclude <strong>User Roles<\/strong><\/li>\n<li>Require or Exclude <strong>User IDs<\/strong><\/li>\n<li>Require or Exclude <strong>User Membership Plans<\/strong><\/li>\n<li>Require or Exclude <strong>Payment Gateways<\/strong><\/li>\n<li>Require or Exclude <strong>Products<\/strong><\/li>\n<li>Require or Exclude <strong>Product Categories<\/strong><\/li>\n<li>Require or Exclude <strong>Product Tags<\/strong><\/li>\n<li>Require or Exclude <strong>Product Shipping Classes<\/strong><\/li>\n<li>Require or Exclude <strong>Date\/Time<\/strong><\/li>\n<\/ul>\n\n<h3>&#127942; Premium Version<\/h3>\n\n<p><a href=\"https:\/\/wpfactory.com\/item\/conditional-shipping-for-woocommerce\/\">WPFactory Conditional Shipping for WooCommerce Pro<\/a> allows you to set conditions on <strong>per shipping instance<\/strong> basis. For example, if you want to set different conditions for different \"Flat rate\" method instances in different or same shipping zones.<\/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\/conditional-shipping-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; Conditional Shipping\".<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>2.1.2 - 15\/10\/2025<\/h4>\n\n<ul>\n<li>Fix - Possible <code>count()<\/code> PHP error fixed (in the <code>Alg_WC_Conditional_Shipping_Settings_General<\/code> class).<\/li>\n<li>Dev - WPFactory Recommendations - Library updated (to v1.0.6).<\/li>\n<li>WC tested up to: 10.2.<\/li>\n<\/ul>\n\n<h4>2.1.1 - 09\/09\/2025<\/h4>\n\n<ul>\n<li>WC tested up to: 10.1.<\/li>\n<\/ul>\n\n<h4>2.1.0 - 30\/06\/2025<\/h4>\n\n<ul>\n<li>Fix - Translation loading fixed.<\/li>\n<li>Dev - Security - Output escaped.<\/li>\n<li>Dev - Security - Input sanitized.<\/li>\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 - 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>Dev - Code refactoring.<\/li>\n<li>Dev - Coding standards improved.<\/li>\n<li>WC tested up to: 9.9.<\/li>\n<li>Tested up to: 6.8.<\/li>\n<\/ul>\n\n<h4>2.0.0 - 06\/11\/2024<\/h4>\n\n<ul>\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>Plugin name updated.<\/li>\n<\/ul>\n\n<h4>1.9.2 - 18\/09\/2024<\/h4>\n\n<ul>\n<li>Fix - Possible \"Call to a member function is_type() on bool ...\" PHP error fixed.<\/li>\n<li>WC tested up to: 9.3.<\/li>\n<\/ul>\n\n<h4>1.9.1 - 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.9.0 - 24\/05\/2024<\/h4>\n\n<ul>\n<li>Dev - \"Additional notice\" options added (to all conditions).<\/li>\n<li>Dev - Products - Admin - Product dropdowns use AJAX now.<\/li>\n<li>Dev - Date\/Time - Admin - Section description updated.<\/li>\n<li>Dev - General - Admin settings rearranged.<\/li>\n<li>Dev - Code refactoring.<\/li>\n<li>WC tested up to: 8.9.<\/li>\n<li>Tested up to: 6.5.<\/li>\n<li><code>woocommerce<\/code> added to the \"Requires Plugins\" (plugin header).<\/li>\n<\/ul>\n\n<h4>1.8.0 - 15\/03\/2024<\/h4>\n\n<ul>\n<li>Fix - Cart instead of package - Bug fixed (multiple packages).<\/li>\n<li>Dev - PHP 8.2 compatibility - \"Creation of dynamic property is deprecated\" notice fixed.<\/li>\n<li>WC tested up to: 8.6.<\/li>\n<li>Readme.txt - Tags updated.<\/li>\n<\/ul>\n\n<h4>1.7.4 - 20\/11\/2023<\/h4>\n\n<ul>\n<li>Dev \u2013 \"High-Performance Order Storage (HPOS)\" compatibility.<\/li>\n<li>WC tested up to: 8.3.<\/li>\n<li>Tested up to: 6.4.<\/li>\n<\/ul>\n\n<h4>1.7.3 - 24\/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.7.2 - 18\/06\/2023<\/h4>\n\n<ul>\n<li>WC tested up to: 7.8.<\/li>\n<\/ul>\n\n<h4>1.7.1 - 25\/05\/2023<\/h4>\n\n<ul>\n<li>Dev - Developers - <code>alg_wc_cond_shipping_logical_operator<\/code> filter added.<\/li>\n<\/ul>\n\n<h4>1.7.0 - 19\/05\/2023<\/h4>\n\n<ul>\n<li>Dev - General - \"Logical operator\" option added (defaults to \"AND\").<\/li>\n<li>Dev - Code refactoring.<\/li>\n<li>Tested up to: 6.2.<\/li>\n<li>WC tested up to: 7.7.<\/li>\n<\/ul>\n\n<h4>1.6.2 - 14\/11\/2022<\/h4>\n\n<ul>\n<li>Tested up to: 6.1.<\/li>\n<li>WC tested up to: 7.1.<\/li>\n<li>Readme.txt updated.<\/li>\n<li>Deploy script added.<\/li>\n<\/ul>\n\n<h4>1.6.1 - 13\/04\/2022<\/h4>\n\n<ul>\n<li>Dev - Date\/Time - Admin settings notes updated.<\/li>\n<li>Tested up to: 5.9.<\/li>\n<li>WC tested up to: 6.4.<\/li>\n<\/ul>\n\n<h4>1.6.0 - 29\/12\/2021<\/h4>\n\n<ul>\n<li>Fix - Cities - Algorithm for retrieving the current customer city fixed.<\/li>\n<li>Dev - Cities - Trying to get the current customer city from the session as well now.<\/li>\n<li>Dev - Cities - Added to the debug.<\/li>\n<li>Dev - JS - <code>update_checkout<\/code> trigger - \"Cities\" module added.<\/li>\n<li>Dev - JS - <code>update_checkout<\/code> trigger - Improved (<code>input<\/code> event added; waiting for <code>document.ready<\/code> now).<\/li>\n<li>WC tested up to: 6.0.<\/li>\n<\/ul>\n\n<h4>1.5.0 - 08\/09\/2021<\/h4>\n\n<ul>\n<li>Dev - Admin settings rearranged: sections merged, e.g., \"Minimum Order Amount\" and \"Maximum Order Amount\" to \"Order Amount\", etc.<\/li>\n<li>Dev - Admin settings descriptions updated.<\/li>\n<li>Dev - Plugin is initialized on the <code>plugins_loaded<\/code> action now.<\/li>\n<li>Dev - Code refactoring.<\/li>\n<li>Tested up to: 5.8.<\/li>\n<li>WC tested up to: 5.6.<\/li>\n<\/ul>\n\n<h4>1.4.0 - 04\/01\/2021<\/h4>\n\n<ul>\n<li>Fix - Settings - Pro plugin message fixed.<\/li>\n<li>Dev - \"Require\/Exclude Date\/Time\" sections added.<\/li>\n<li>Dev - General - \"Checkout notice\" option added. Re-checking shipping methods on \"after checkout validation\" now.<\/li>\n<li>Dev - General - \"Debug\" option added.<\/li>\n<li>Dev - Localization - <code>load_plugin_textdomain<\/code> moved to the <code>init<\/code> hook.<\/li>\n<li>WC tested up to: 4.8.<\/li>\n<li>Tested up to: 5.6.<\/li>\n<\/ul>\n\n<h4>1.3.0 - 28\/08\/2020<\/h4>\n\n<ul>\n<li>Dev - General - \"Use shipping instances\" defaults to <code>no<\/code> now.<\/li>\n<li>Dev - JS files minified.<\/li>\n<li>Dev - All input sanitized now.<\/li>\n<li>Dev - Code refactoring.<\/li>\n<li>Dev - Free plugin version created.<\/li>\n<li>Dev - Admin settings descriptions updated.<\/li>\n<li>Plugin renamed.<\/li>\n<li>WC tested up to: 4.4.<\/li>\n<li>Tested up to: 5.5.<\/li>\n<\/ul>\n\n<h4>1.2.0 - 06\/02\/2020<\/h4>\n\n<ul>\n<li>Dev - \"Require\/Exclude Payment Gateways\" sections added.<\/li>\n<li>Dev - Admin settings descriptions updated.<\/li>\n<li>Dev - Code refactoring.<\/li>\n<li>WC tested up to: 3.9.<\/li>\n<\/ul>\n\n<h4>1.1.0 - 13\/11\/2019<\/h4>\n\n<ul>\n<li>Fix - Minimum\/Maximum Order Amount - Comparing float values properly now (with epsilon).<\/li>\n<li>Fix - Minimum\/Maximum Order Amount - Decimal values are now allowed in settings.<\/li>\n<li>Dev - Admin settings restyled.<\/li>\n<li>Dev - Code refactoring.<\/li>\n<li>Plugin URI updated.<\/li>\n<li>Tested up to: 5.3.<\/li>\n<li>WC tested up to: 3.8.<\/li>\n<\/ul>\n\n<h4>1.0.0 - 06\/06\/2018<\/h4>\n\n<ul>\n<li>Initial Release.<\/li>\n<\/ul>","raw_excerpt":"Set conditions for WooCommerce shipping methods to show up.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pan.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/127809","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pan.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pan.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pan.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=127809"}],"author":[{"embeddable":true,"href":"https:\/\/pan.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/wpcodefactory"}],"wp:attachment":[{"href":"https:\/\/pan.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=127809"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pan.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=127809"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pan.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=127809"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pan.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=127809"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pan.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=127809"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pan.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=127809"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}