How enquiries work
This page walks through what happens when a shopper asks a question, and how the form behaves.
The shopper’s experience
Section titled “The shopper’s experience”- On a single product page, the shopper sees the Ask a question button in your chosen position.
- Clicking it opens a focus-trapped dialog built on the native
<dialog>element. Focus moves into the form, the keyboard works as expected, and the dialog is labelled for screen readers. - The shopper fills in the form (name, email, message — whichever you marked required) and submits.
- They see an inline success message with no page reload. On a problem, an inline error message appears instead.
The dialog respects prefers-reduced-motion, so animations are suppressed for shoppers who ask for reduced motion.
What happens on submit
Section titled “What happens on submit”When the form is submitted, Enquire:
- Verifies the nonce.
- Screens the honeypot field.
- Applies the per-visitor rate limit.
- Sends the enquiry with
wp_mail()to your recipient address.
The email includes the product name and its permalink, so you know exactly which product the question is about, and the customer’s address is set as Reply-To so you can answer directly.
What you receive
Section titled “What you receive”Each enquiry email contains:
- The shopper’s name and message
- The product name and a link to it
- The customer’s email as the Reply-To address
Nothing is stored in your database — the email in your inbox is the record.
Where it loads
Section titled “Where it loads”Enquire’s small CSS and JavaScript load only on product pages. Every other page is untouched, keeping the rest of your site lean. The plugin declares WooCommerce HPOS and Cart/Checkout Blocks compatibility.
Replying to an enquiry
Section titled “Replying to an enquiry”Open the email and hit reply. Because the customer’s address is the Reply-To, your response goes straight to them from your normal inbox — no separate tool or dashboard needed.