A
Variation Swatches for WooCommerce Content

Add to cart in category/ archive page

Add to cart in category/ archive page

What it does

Add to cart in category/ archive page It is one of the abilities the Variation Swatches 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_pages

How an agent calls it

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

woo-product-variation-swatches.add-to-cart-in-category-archive-page
{
  "ability": "woo-product-variation-swatches.add-to-cart-in-category-archive-page",
  "args": { "input": ... }
}

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

Keep exploring

More Variation Swatches for WooCommerce abilities

All Variation Swatches for WooCommerce abilities →
E
Enable color/ image/ label/ button swatches for variable
Variation Swatches for WooCommerce
Enable color/ image/ label/ button swatches for variable product
C
Customize tooltip/ swatches colors, background and border
Variation Swatches for WooCommerce
Customize tooltip/ swatches colors, background and border sizes