Smartdisain Conditional Checkout Rules for WooCommerce
Smartdisain Conditional Checkout Rules for WooCommerce lets you control the WooCommerce checkout by shipping method and shipping class, without code. 1. Checkout fields by shipping method For each shipping method (e.g. parcel locker, courier, local pickup) you can choose: fields to hide (e.g. street
Smartdisain Conditional Checkout Rules for WooCommerce lets you control the WooCommerce checkout by shipping method and shipping class, without code.
1. Checkout fields by shipping method
For each shipping method (e.g. parcel locker, courier, local pickup) you can choose:
- fields to hide (e.g. street, city and postcode for a parcel locker);
- fields to make required (e.g. phone number).
Fields are hidden or made required instantly when the customer changes the shipping method at checkout. A hidden field is not validated and is never required (hiding takes precedence over requiring).
The settings screen shows one card per shipping method, with a simple Default / Hide / Required choice for every field, a search box, a “configured only” filter and the option to copy rules from another shipping method.
Settings: WooCommerce → Settings → Shipping → Checkout fields.
2. Shipping methods by shipping class
A second screen shows one card per shipping class. For every shipping method choose Default (offered as usual) or Disable: a disabled method is not offered when the cart contains a product of that class. Use it, for example, to hide parcel lockers for bulky goods or to offer a courier only for fragile items.
- Works in the classic checkout, the block-based checkout and the cart.
- If the cart contains products of several shipping classes, a method disabled for any of them is not offered.
- Same card layout, search and “copy rules from” as the checkout fields screen.
Settings: WooCommerce → Settings → Shipping → Shipping class rules.
3. Rules by user role
Shipping method rules per user role are in WooCommerce → Settings → Shipping → Role rules:
- disable shipping methods (for example logged-in customers see parcel lockers but not the courier, while the role “Business customer” gets only the courier).
Payment method rules per user role are in WooCommerce → Settings → Payments → Payment rules (direct link: Plugins list → “Payment rules”):