
外掛標籤
開發者團隊
原文外掛簡介
HDWebmobile Product Enquiry adds a simple “Ask a question about this product” form to every product page. Questions are emailed to the store admin and listed under WooCommerce > HDWebmobile > Product Enquiries, where staff can reply — the reply is emailed straight back to the customer.
Security by design
An enquiry form stores text typed by strangers and shows it to your staff in wp-admin, so that text must never be able to run as code in an administrator’s browser (stored XSS). This plugin is built so it cannot:
Every customer-controlled value — name, email, message, and later the admin’s reply — passes through esc_html() at the exact point it is printed as HTML, both in the admin enquiry list and anywhere it could ever be displayed, with no exceptions.
Input is still sanitized on the way in (sanitize_text_field(), sanitize_email(), sanitize_textarea_field()) as defense in depth, but the actual fix for this vulnerability class lives at output time, not input time — sanitizing on save and forgetting to escape on display is exactly the mistake that causes it.
Admin notification and customer reply emails are sent as plain text, so there is no HTML-rendering surface in the email itself either.
A honeypot field filters automated spam submissions before they ever reach the database, with no CAPTCHA service or external dependency required.
Key Features
“Ask a question about this product” form on every product page
Admin email notification the moment a question is submitted
All questions listed under WooCommerce > HDWebmobile > Product Enquiries
Reply from wp-admin — the customer receives it by email automatically
Honeypot spam protection, no third-party service required
Limitations (please read before installing)
Replies are sent by email only — there is no customer-facing “my questions” account page in this version
One question per submission — no threaded back-and-forth conversation yet
Enjoying this plugin?
If it helps your site, please consider leaving an honest review on WordPress.org — it helps other WordPress users find it. Found a problem or have an idea? Please open a support topic first so it can be fixed.
How to Use
1. Customers ask a question
On any product page, a customer fills in their name, email, and question, and submits it — no account required.
2. You get notified
The store admin email address receives a notification the moment a question comes in.
3. You reply from wp-admin
Under WooCommerce > HDWebmobile > Product Enquiries, type a reply and send it — it’s emailed straight to the customer.
