Title: Conditional Payments and Shipping for WooCommerce
Author: Waseem Senjer
Published: <strong>اگست 18, 2019</strong>
Last modified: نومبر 10, 2026

---

پلگ انز ئے شوھاز کن

![](https://ps.w.org/wc-restricted-shipping-and-payment/assets/banner-772x250.png?
rev=3794325)

![](https://ps.w.org/wc-restricted-shipping-and-payment/assets/icon-128x128.gif?
rev=2772952)

# Conditional Payments and Shipping for WooCommerce

 [Waseem Senjer](https://profiles.wordpress.org/waseem_senjer/) ئے وسیلہ ئا

[ایرگیج](https://downloads.wordpress.org/plugin/wc-restricted-shipping-and-payment.2.0.0.zip)

 * [سرجمیں](https://bcc.wordpress.org/plugins/wc-restricted-shipping-and-payment/#description)
 * [جائزہ](https://bcc.wordpress.org/plugins/wc-restricted-shipping-and-payment/#reviews)
 *  [انسٹالیشن](https://bcc.wordpress.org/plugins/wc-restricted-shipping-and-payment/#installation)
 * [دیمروی](https://bcc.wordpress.org/plugins/wc-restricted-shipping-and-payment/#developers)

 [کمک](https://wordpress.org/support/plugin/wc-restricted-shipping-and-payment/)

## سرجمیں

A simplistic plugin for excluding shipping methods based on multiple rules such 
as shipping class, package weight and cart totals.

### Excluding Payment Gateways

You can take full control of your store payment gateways by excluding certain gateways
if certain rules were met in the checkout process. For example, you can exclude 
Check Payments if the cart total is less than 100$. You can add an unlimited number
of rules to control your payment methods availability.

### Excluding Shipping Methods

Moreover, you can have a high level of control over your store’s shipping methods,
You can apply as many rules as you need in order to manage your shipping methods
availability. For example, you may exclude some shipping methods if the order weight
exceeds a certain weight, or exclude shipping method/s if the destination was a 
certain country.

 * [Upgrade to Pro Now](https://wpruby.com/plugin/woocommerce-restricted-shipping-payment-pro/?utm_source=restricted-lite&utm_medium=readme&utm_campaign=freetopro)
 * [Documentation](https://wpruby.com/knowledgebase_category/woocommerce-restricted-shipping-and-payment-pro/)

## اسکرین شاٹ

[⌊Excluding local pickup shipping method in case the total cart weight is less than
5kg.⌉⌊Excluding local pickup shipping method in case the total cart weight is less
than 5kg.⌉[

Excluding local pickup shipping method in case the total cart weight is less than
5kg.

[⌊Excluding Direct Bank Transfer if the Cart Total is less than 400$ or the billing
country is the United Kingdom.⌉⌊Excluding Direct Bank Transfer if the Cart Total
is less than 400$ or the billing country is the United Kingdom.⌉[

Excluding Direct Bank Transfer if the Cart Total is less than 400$ or the billing
country is the United Kingdom.

## انسٹالیشن

 1. Upload `restricted-shipping-and-payment-for-woocommerce.zip` to the `/wp-content/
    plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. A new admin menu items `Shipping Conditions` and `Payment Conditions` will be added
    to the WooCommerce menu item.

## جُست ءُ پُرس

### Which rules are available to restrict payment gateways and shipping methods?

The following rules are available:
 * Cart Total * Coupon Code * Customer * Package
Total Weight * Billing Country * Shipping Class * Shipping Country

## جائزہ

![](https://secure.gravatar.com/avatar/ac5c27de7cc33da7124a9122c170c48259febfab665b80247bb7aca72043ddc0?
s=60&d=retro&r=g)

### 󠀁[So useful!](https://wordpress.org/support/topic/so-useful-91/)󠁿

 [Briosh](https://profiles.wordpress.org/briosh/) مارچ 20, 2021

Wow thanks a lot! This did exactly what I needed! Using this handy plugin, you can
create more complex shipping scenarios even with the default woocommerce settings!

![](https://secure.gravatar.com/avatar/8c59f8877ce4313a5b48d34f3bfe25c4a5283fbf7a81ab9f15f4080178c67038?
s=60&d=retro&r=g)

### 󠀁[very useful](https://wordpress.org/support/topic/very-useful-2518/)󠁿

 [airweb.by](https://profiles.wordpress.org/mumarek/) دسمبر 16, 2020 1 جواب دنت

works

![](https://secure.gravatar.com/avatar/07f7ccc0e32294e5d2c9ada937486e312517ddc989b779b1832d76a88d2007a4?
s=60&d=retro&r=g)

### 󠀁[Working for me](https://wordpress.org/support/topic/working-for-me-20/)󠁿

 [justingold](https://profiles.wordpress.org/justingoldstein/) اگست 23, 2020

I can now set shipping methods for different Shipping classes. Exactly what I was
looking for. Thank you!!! Please keep up the good work.

 [ کلیں 2 جائزہ ئا پڑھ ](https://wordpress.org/support/plugin/wc-restricted-shipping-and-payment/reviews/)

## کمک کنوک & دیمروئی کنوک

“Conditional Payments and Shipping for WooCommerce” اوپن سورس سافٹ ویئر اِنت۔ اے
پلگ ان ءِ تہا رند ءِ مردماں وتی کرد پیلو کتگ۔

کمک کار

 *   [ Waseem Senjer ](https://profiles.wordpress.org/waseem_senjer/)
 *   [ WPRuby ](https://profiles.wordpress.org/wprubyplugins/)

[“Conditional Payments and Shipping for WooCommerce” ءَ وتی زبان ءَ رجانک کن اِت۔](https://translate.wordpress.org/projects/wp-plugins/wc-restricted-shipping-and-payment)

### دیمروئی ءِ تہا دلچسپی داریت؟

[کڈ ءَ براؤز کن اِت](https://plugins.trac.wordpress.org/browser/wc-restricted-shipping-and-payment/)،
[SVN ءِ ذخیرہ](https://plugins.svn.wordpress.org/wc-restricted-shipping-and-payment/)
ءَ بچار اِت، یا [دیمروئی ءِ لاگ](https://plugins.trac.wordpress.org/log/wc-restricted-shipping-and-payment/)
ءَ [RSS](https://plugins.trac.wordpress.org/log/wc-restricted-shipping-and-payment/?limit=100&mode=stop_on_copy&format=rss)
ءِ وسیلہ ءَ سبسکرائب بہ کن اِت۔

## چینج لاگ

#### 2.0.0

 * Changed: New condition editor. Choose the shipping methods or payment gateways
   to hide, then add rules; searchable lists replace the old select boxes and the
   condition is checked before publishing.
 * Changed: The conditions lists show what each condition hides and its rules.
 * Changed: Conditions can only be viewed and edited by store managers and administrators.
 * Added: Support for the WooCommerce Cart and Checkout blocks.
 * Fixed: “more than” rules also matched equal values.
 * Fixed: Customer rule failed for guests; it now uses the billing email they entered.
 * Fixed: Shipping rates were not refreshed when only the billing country or email
   changed.
 * Fixed: Adding, changing, disabling or trashing a shipping condition didn’t apply
   to customers whose shipping rates were already calculated.
 * Fixed: Rules without values could match, e.g. a Cart Total rule with an empty
   amount hid methods for every cart.
 * Fixed: Coupon Code “not included in the order” didn’t match carts without any
   coupon.
 * Fixed: Coupon codes with accented letters didn’t match.
 * Fixed: “equal to” Cart Total and Package Weight rules could fail because of decimal
   rounding, e.g. 3 × 0.1 kg against 0.3 kg.
 * Fixed: Customer “email is not” was case sensitive, unlike “email is”.
 * Dev: Requires WordPress 6.6, PHP 7.4 and WooCommerce 8.9 or newer.
 * Dev: Rewritten as namespaced classes; the CMB2 library is no longer bundled. 
   Existing conditions keep working unchanged.

#### 1.0.17

 * Added: WooCommerce 11.0 compatibility.
 * Added: WordPress 7.1 compatibility.

#### 1.0.16

 * Fixed: Missing authorization check in the get_rule_type_operators AJAX handler
   that could allow contributors to read shipping and payment condition configuration
   from posts they do not own.

#### 1.0.15

 * Added: WordPress 6.9 compatibility.

#### 1.0.14

 * Added: WooCommerce 9.4 compatibility.
 * Added: WordPress 6.7 compatibility.

#### 1.0.13

 * Fixed: PHP deprecated warnings.
 * Added: WooCommerce 9.3 compatibility.
 * Added: WordPress 6.6 compatibility.
 * Updated: select2 to 4.0.7

#### 1.0.12

 * Fixed: Shipping classes issue for variable products.
 * Added: WooCommerce 8.5 compatibility.

#### 1.0.11

 * Added: WordPress 6.4 compatibility.
 * Added: WooCommerce 8.2 compatibility.
 * Added: Declaring WooCommerce HPOS compatibility.
 * Fixed: Fix billing country rule.

#### 1.0.10

 * Added: WordPress 6.3 compatibility.
 * Added: WooCommerce 8.0 compatibility.

#### 1.0.9

 * Added: WordPress 6.0 compatibility.
 * Added: WooCommerce 7.0 compatibility.
 * Fixed: Updated Select2.js to 4.0.6

#### 1.0.8

 * Added: WordPress 5.9 compatibility.

= 1.0.7
 * FIXED: fix shipping classes issue with product variations

#### 1.0.6

 * FIXED: product weight for variations.

#### 1.0.5

 * FIXED: Not In operator was not working as expected.
 * FIXED: Shipping classes rule was not calculated correctly.

#### 1.0.4

 * FIXED: Weight rule unit conversion was not considered.
 * FIXED: Weight rule product quantity was not considered.

#### 1.0.3

 * FIXED: Cart total rule was not working.
 * FIXED: Payment country rule was not working.

#### 1.0.2

 * FIXED: rule operators miss displayed.

#### 1.0.1

 * FIXED: the plugin security nonce was breaking other plugins.

#### 1.0.0

 * Initial release

## میٹا

 *  ورژن **2.0.0**
 *  گڈی رند ءَ نوک کنگ بوتگ **3 روچ پیشا**
 *  فعالیں تنصیبات **1,000+**
 *  ورڈپریس ورژن ** 6.6 یا گیشتر **
 *  **7.1.4** ءَ داں آزمائش کنگ بوتگ۔
 *  PHP ءِ ورژن ** 7.4 یا گیشتر **
 *  زبان
 * [English (US)](https://wordpress.org/plugins/wc-restricted-shipping-and-payment/)
 * ٹیگ
 * [conditional payments](https://bcc.wordpress.org/plugins/tags/conditional-payments/)
   [conditional shipping](https://bcc.wordpress.org/plugins/tags/conditional-shipping/)
   [payment gateways](https://bcc.wordpress.org/plugins/tags/payment-gateways/)[shipping method](https://bcc.wordpress.org/plugins/tags/shipping-method/)
   [woocommerce](https://bcc.wordpress.org/plugins/tags/woocommerce/)
 *  [دیمروئی کتگیں ندارگ](https://bcc.wordpress.org/plugins/wc-restricted-shipping-and-payment/advanced/)

## درجہ بندی

 5 چہ 5 استاراں

 *  [  3 5-ستارہ جائزہ     ](https://wordpress.org/support/plugin/wc-restricted-shipping-and-payment/reviews/?filter=5)
 *  [  0 4-ستارہ جائزہ     ](https://wordpress.org/support/plugin/wc-restricted-shipping-and-payment/reviews/?filter=4)
 *  [  0 3-ستارہ جائزہ     ](https://wordpress.org/support/plugin/wc-restricted-shipping-and-payment/reviews/?filter=3)
 *  [  0 2-ستارہ جائزہ     ](https://wordpress.org/support/plugin/wc-restricted-shipping-and-payment/reviews/?filter=2)
 *  [  0 1-ستارہ جائزہ     ](https://wordpress.org/support/plugin/wc-restricted-shipping-and-payment/reviews/?filter=1)

[تئی جائزہ](https://wordpress.org/support/plugin/wc-restricted-shipping-and-payment/reviews/#new-post)

[کلیں جائزہ ئا بہ گند](https://wordpress.org/support/plugin/wc-restricted-shipping-and-payment/reviews/)

## کمک کار

 *   [ Waseem Senjer ](https://profiles.wordpress.org/waseem_senjer/)
 *   [ WPRuby ](https://profiles.wordpress.org/wprubyplugins/)

## کمک

چیزے گشگ ءِ ھاترا رستگ؟ کمک لوٹ ئے؟

 [سپورٹ فورم ئا بہ گند](https://wordpress.org/support/plugin/wc-restricted-shipping-and-payment/)

## دیگ

آیا شما اے پلگ ان ءِ دیمروئی ءِ حمایت کنگ لوٹ ات؟

 [ اے پلگ ان ءَ عطیہ بہ کن اِت ](https://wpruby.com)