C
Discount Rules for WooCommerce Content

Create percentage discounts

Create percentage discounts .

What it does

Create percentage discounts . 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.

πŸ”’ edit_posts

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.create-percentage-discounts
{
  "ability": "woo-discount-rules.create-percentage-discounts",
  "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
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.
S
Set product specific percentage discounts (Example: Product
Discount Rules for WooCommerce
Set product specific percentage discounts (Example: Product A gets 10%, Product B gets 20%)