Recipe: Offer notifications and their placeholders

mam-woocommerce-offers registers four templates with the MAM notification manager (Notifications settings in WP admin). All four send as push and email (force_email).

Template (slug) Fires when Recipient
WooCommerce – Offer Added on Listing (listing-offer-added) A buyer submits a new offer All admins of the offer’s vendor
WooCommerce – Offer Approved on Listing (listing-offer-approved) A seller accepts an offer The buyer
WooCommerce – Offer Rejected on Listing (listing-offer-rejected) A seller rejects an offer The buyer
WooCommerce – Offer Approved Reminder (listing-offer-approved-reminder) Daily task: an approved offer is older than the reminder delay, the product is in stock, and no reminder was sent yet The buyer

Placeholders

Placeholder Value
amount The offered price (added) or accepted price (approved/rejected/reminder)
item The product’s title
type The product’s WooCommerce category name(s), comma-separated
brand The offer’s brand meta. The plugin does not populate this itself — it renders empty unless your site writes a brand meta onto offers
message Reminder only: the seller’s latest note from the offer’s message history (empty if the last note was the buyer’s own)

The reminder template supports amount, item, and message; the other three support amount, brand, item, and type.

Notes

  • Vendor admin fan-out requires WooCommerce Product Vendors; without it the offer-added notification is skipped (buyer-facing notifications still send).
  • The reminder delay is the Approved Offer Reminder Delay (hours) setting on the Offers tab (default 24). Each offer is reminded at most once.
  • The daily task is registered with the MAM cron manager as WC Offers – Offer Approved Reminder.
Contents

    Need Support?

    Can't find the answer you're looking for? Don't worry we're here to help!