A
Otter Blocks - Gutenberg Blocks, Page Builder for Gutenberg Editor & FSE Content

Add to Cart Block

Add to Cart Block

What it does

Add to Cart Block It is one of the abilities the Otter Blocks - Gutenberg Blocks, Page Builder for Gutenberg Editor & FSE 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:

otter-blocks.add-to-cart-block
{
  "ability": "otter-blocks.add-to-cart-block",
  "args": { "input": ... }
}

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

Keep exploring

More Otter Blocks - Gutenberg Blocks, Page Builder for Gutenberg Editor & FSE abilities

All Otter Blocks - Gutenberg Blocks, Page Builder for Gutenberg Editor & FSE abilities β†’
C
Create stunning popups and fine-tune when they should
Otter Blocks - Gutenberg Blocks, Page Builder for Gutenberg Editor & FSE
Create stunning popups and fine-tune when they should appear and how they can be closed. Check live demo
A
Add to Cart Gutenberg Block [PRO]
Otter Blocks - Gutenberg Blocks, Page Builder for Gutenberg Editor & FSE
Add to Cart Gutenberg Block [PRO]
C
Create a beautifully styled Business Hours table and
Otter Blocks - Gutenberg Blocks, Page Builder for Gutenberg Editor & FSE
Create a beautifully styled Business Hours table and fine-tune its settings until it's perfect.