S
Discount Rules for WooCommerce WooCommerce

Set product specific percentage discounts (Example: Product

Set product specific percentage discounts (Example: Product A gets 10%, Product B gets 20%)

What it does

Set product specific percentage discounts (Example: Product A gets 10%, Product B gets 20%) It is one of the abilities the Discount Rules 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:

woo-discount-rules.set-product-specific-percentage-discount
{
  "ability": "woo-discount-rules.set-product-specific-percentage-discount",
  "args": { "input": ... }
}

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

Keep exploring

More Discount Rules for WooCommerce abilities

All Discount Rules for WooCommerce abilities β†’
D
Display "You saved" message on the cart & checkout pages
Discount Rules for WooCommerce
Display "You saved" message on the cart & checkout pages
D
Display a Sale badge on your shop & product pages
Discount Rules for WooCommerce
Display a Sale badge on your shop & product pages
C
Create percentage discounts
Discount Rules for WooCommerce
Create percentage discounts .
O
Offer a storewide sale Example: A storewide 10% discount on
Discount Rules for WooCommerce
Offer a storewide sale Example: A storewide 10% discount on all products
C
Create bulk discounts
Discount Rules for WooCommerce
Create bulk discounts . Example: Use quantity breaks to offer higher discounts on bulk purchases.