Enquire
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
- Plugin page: https://plogins.com/enquire/
- Documentation: https://plogins.com/enquire/docs/
- Author: WPPoland.com
- WordPress.org contributor: motylanogha
- Source: https://github.com/wppoland/enquire
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.
What Enquire does
Section titled “What Enquire does”- Adds the button on the
woocommerce_after_add_to_cart_formhook, 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 underprefers-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 becomesReply-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.
What it does not store
Section titled “What it does not store”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.
Editions
Section titled “Editions”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.
Next steps
Section titled “Next steps”- Getting started, install, set the recipient, send a test enquiry.
- Configuration, every setting and its option key.
- How enquiries work, the full flow from button to inbox.