Update checkout form settings is a WordPress ability from CartFlows — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.
Install Free Plugin →Update checkout form settings
WriteToggle form-level checkout options: coupon field, order note, address autocomplete, and more.
Requires the CartFlows plugin on WordPress 6.9+, since abilities only register when WordPress's Abilities API (wp_register_ability / WP_Ability) is available. Every ability additionally requires the current user to hold the 'cartflows_manage_flows_steps' capability. Flow and step lifecycle abilities (publish, unpublish, clone, trash, restore, update, reorder, clone-step, update-step-title) are further gated by the 'cartflows_abilities_api_edit' site option, while settings, checkout, thank-you, optin, email-report, product-mapping, creation, and template-import abilities are gated by the separate 'cartflows_abilities_api_write' option — both default to enabled but let site admins disable write access independently. WooCommerce must also be active for the analytics, checkout, thank-you, optin, and product-flow-mapping abilities, and for importing flow templates.
What it does
This ability toggles a checkout step's form-level settings: the coupon field and whether it's collapsible, the additional fields (order note) field and whether it's collapsible, ship-to-different-address, Google address autocomplete, product images in the order review, and cart editing. Only provided fields are updated. Requires WooCommerce.
See it in action
You ask your AI assistant
"Enable the coupon field and Google address autocomplete on checkout step 88."
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| step_id | integer | Yes | The checkout step ID. |
| show_coupon_field | string | No | yes or no — show the coupon field. |
| optimize_coupon_field | string | No | yes or no — make the coupon field collapsible. |
| show_additional_fields | string | No | yes or no — show the additional (order note) field. |
| optimize_order_note | string | No | yes or no — make the order note field collapsible. |
| ship_to_different_address | string | No | yes or no — enable ship to a different address. |
| google_autoaddress | string | No | yes or no — enable Google address autocomplete. |
| show_product_images | string | No | yes or no — show product images in the order review. |
| enable_cart_editing | string | No | yes or no — allow removing products from checkout. |
Returns
An object with step_id, a settings object with the updated form settings, and a result message.
Permission
The current user must have the 'cartflows_manage_flows_steps' capability, and the 'cartflows_abilities_api_write' site option (enabled by default) must not be disabled.
More CartFlows abilities
Clone funnel
Duplicate a CartFlows funnel, including all its steps and settings.
Clone step
Duplicate a CartFlows step within the same funnel.
Create funnel
Create a new, empty CartFlows funnel.
Create step
Create a new step and attach it to an existing CartFlows funnel.
Export funnel data
Export one or more CartFlows funnels as structured JSON, including all steps and settings.
Get checkout form fields
Read the billing and shipping field configuration of a CartFlows checkout step.