Zum Inhalt springen

Enquire

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

Enquire adds an “Ask a question” button after the add-to-cart button on every WooCommerce single product page. A shopper clicks it, a native <dialog> opens with a short form (name, email, message), and on submit the enquiry is emailed to you with the product name and a link to it. The shopper’s address is set as the email’s Reply-To, so you answer the question straight from your inbox.

  • Adds the button on the woocommerce_after_add_to_cart_form hook, it sits directly under add to cart on single product pages, including variable products.
  • Opens an accessible native <dialog>: focus moves into the first field, the keyboard works as expected (Escape closes, a backdrop click closes), the dialog is labelled for screen readers, and its animation is skipped under prefers-reduced-motion.
  • Sends each enquiry through your site’s own wp_mail(), with the product name and permalink in the body. The customer’s address becomes Reply-To.
  • Validates only the fields you mark required (name, email, message), each toggled independently. A bad email format is rejected whenever an address is entered, even if email is optional.
  • Screens spam with three layers that need no configuration: a nonce, a hidden honeypot field, and a 30-second per-visitor rate limit.
  • Stores no enquiry data, submissions are emailed only, so there is nothing to purge for GDPR.
  • Loads its small CSS and one vanilla-JavaScript file (defer, no jQuery) only on single product pages.

There is no database table and no admin log of enquiries. The email in your inbox is the only record. Enquire keeps two WordPress options, enquire_settings and enquire_db_version, and nothing else; both are removed when you delete the plugin.

The free edition on WordPress.org is the complete GPL product: the button, the accessible dialog, wp_mail() delivery, spam screening, and configurable fields and copy. There is one developer hook, enquire/enquiry_sent, that fires after a successful send, see Configuration.

An Enquire Pro is planned for enquiry logging, file attachments, auto-replies to the shopper (built on enquire/enquiry_sent) and per-product recipients. None of that is in the free edition, and the free edition is not a time-limited trial.