D
Menu Cart for WooCommerce Content

Display items only, price only, or both

Display items only, price only, or both.

What it does

Display items only, price only, or both. It is one of the abilities the Menu Cart 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:

woocommerce-menu-bar-cart.display-items-only-price-only-or-both
{
  "ability": "woocommerce-menu-bar-cart.display-items-only-price-only-or-both",
  "args": { "input": ... }
}

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

Keep exploring

More Menu Cart for WooCommerce abilities

All Menu Cart for WooCommerce abilities β†’
D
Display cart icon, or only items/prices
Menu Cart for WooCommerce
Display cart icon, or only items/prices.
D
Display always, or only when there are items in the cart
Menu Cart for WooCommerce
Display always, or only when there are items in the cart.
C
Customize your own CSS
Menu Cart for WooCommerce
Customize your own CSS