R
Conditional Shipping for WooCommerce WooCommerce

Restrict WooCommerce shipping methods based on conditions

Restrict WooCommerce shipping methods based on conditions

What it does

Restrict WooCommerce shipping methods based on conditions It is one of the abilities the Conditional Shipping for WooCommerce plugin exposes, so an AI agent connected to your site can run it for you.

Input schema

FieldTypeRequiredDescription
input string Required What you want this ability to do, in plain language.

Output schema

FieldTypeDescription
result string The result produced by the ability.

Permissions

The agent's WordPress user needs these capabilities. Grant only what's listed here, never a full admin account.

πŸ”’ manage_woocommerce

How an agent calls it

Agents call this ability by name and pass the inputs it needs. A call looks roughly like this:

conditional-shipping-for-woocommerce.restrict-woocommerce-shipping-methods-ba
{
  "ability": "conditional-shipping-for-woocommerce.restrict-woocommerce-shipping-methods-ba",
  "args": { "input": ... }
}

The agent runs the ability, then hands the result back for you to review before anything is published.

Keep exploring

More Conditional Shipping for WooCommerce abilities

All Conditional Shipping for WooCommerce abilities β†’
S
Set shipping costs conditionally
Conditional Shipping for WooCommerce
Set shipping costs conditionally. For example, increase shipping cost 20 % for large items.
D
Display shipping notices based on conditions
Conditional Shipping for WooCommerce
Display shipping notices based on conditions
S
Set custom "no shipping methods available" message based on
Conditional Shipping for WooCommerce
Set custom "no shipping methods available" message based on conditions