30 days free. No credit card. Full access from the moment you connect your site.

Start free trial

MailerPress Pro Delete WooCommerce Email Template

mailerpress-pro/delete-woocommerce-email-template removes the MailerPress override for a WooCommerce email type, so WooCommerce falls back to its own template. It requires confirm_type matching the type.

The email keeps sending.

Before you run it

The email keeps sending and reverts to WooCommerce’s own template, so customers get a functional but unbranded email. The campaign is not deleted — only the link between the email type and the campaign. Setting the status to default achieves the same fallback reversibly.

At a glance

Abilitymailerpress-pro/delete-woocommerce-email-template
ToolsetMailerPress Pro — toolset/mailerpress-pro
GroupMailerPress Pro › WooCommerce Emails
RequiresAcrossAI Pro, plus MailerPress with its Pro add-on active on the site
Capabilitymanage_options
SafetyDestructive — removes the override so WooCommerce falls back to its own template. Requires confirm_type.
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI Pro 0.9.16 and later

How it works

WooCommerce’s own templates are perfectly functional — they contain the order details and they deliver. What they are not is branded, so the visible change is a customer receiving a WooCommerce-styled email from a shop that had been sending its own.

That is usually the intent when somebody removes an override, and it is occasionally an accident nobody notices from inside, because nobody on the site receives these emails.

The reversible equivalent is setting the status to default through the save ability, which keeps the configuration and can be switched back in one call.

The campaign remains in MailerPress either way and can be re-attached.

Requires WooCommerce to be active.

Idempotent.

Input

NameTypeRequiredWhat it is
typestringYesThe WooCommerce email type.
confirm_typestringYesMust match type.
confirmbooleanYes — must be trueThe irreversibility gate. Without it the call is refused before anything is touched.

What comes back

NameTypeWhat it is
typestringThe type reverted.
successbooleanWhether the call completed.
messagestringA one-line summary of what happened, suitable for showing a human.
error_codestringPresent only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation.

Example

Ask your assistant:

Go back to WooCommerce’s own order email.

It resolves to one call:

{
  "ability": "mailerpress-pro/delete-woocommerce-email-template",
  "parameters": {
    "type": "customer_completed_order",
    "confirm_type": "customer_completed_order",
    "confirm": true
  }
}

Worth knowing

  • The email still sends, in WooCommerce’s own styling.
  • Nobody on the site receives these, so the change is invisible internally.
  • default status is the reversible equivalent.
  • Requires WooCommerce active.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading