Recipe: Review and respond to offers from the app

Set up the offers screen

Add the WC Price Offers content type to a screen in your app (App Setup → content). It needs no content source. The screen shows two groups:

  • Received Offers — offers on the viewer’s own store, shown only to store managers and vendor admins. Each entry shows the product, the offer amount, the buyer’s message, and Accept Offer / decline actions.
  • Sent Offers — offers the viewer has made as a buyer, with their current state.

Who can respond

Accept/reject is enforced server-side, deny-by-default:

  • Users with the WooCommerce manage_woocommerce capability (store owners/managers) can respond to any offer.
  • With WooCommerce Product Vendors active, admins of the vendor the offer was made against can respond to their own store’s offers only.
  • Everyone else gets “You do not have permission to manage this offer.”

Custom marketplace models can grant or revoke access via the mam_wc_offers_user_can_manage_offer filter.

If your site has the suite’s Require Session Token setting enabled, accepting an offer additionally requires a token-verified login (accepting changes what the buyer pays, so it is treated as a sensitive action).

What accept / reject do

  • Accept marks the offer Approved, records the accepted price, and notifies the buyer (WooCommerce – Offer Approved on Listing). From then on, that buyer sees and pays the accepted price for that product at checkout (via the mam_wc_get_approved_price_for_user filter).
  • Reject marks the offer Rejected and notifies the buyer (WooCommerce – Offer Rejected on Listing).

Both actions refresh the app content in the same response, so the offers screen updates immediately.

Follow-up reminder

A daily task sends the buyer one reminder (WooCommerce – Offer Approved Reminder) when an approved offer is older than the configured delay (default 24 hours), the product is still in stock, and no reminder has been sent for that offer yet.

Contents

    Need Support?

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