Enquiry Cart For WooCommerce – Request a Quote Plugin Documentation

Enquiry Cart For WooCommerce lets you replace the standard WooCommerce Add to Cart button with a quote enquiry workflow. Customers can add products to a dedicated enquiry cart, fill in a custom form, and submit a quote request — without going through checkout.

This documentation covers everything from installation to advanced configuration including custom fields, webhooks, CSV exports, and developer hooks.



Requirements

  • WordPress 5.0 or higher
  • WooCommerce (free or paid) installed and active
  • PHP 7.2 or higher

Note: This plugin is a WooCommerce add-on. WooCommerce must be installed and activated before using Enquiry Cart.


Installation

Option 1 – Install from WordPress Plugin Directory

  1. Log in to your WordPress dashboard.
  2. Go to Plugins > Add New.
  3. Search for Enquiry Cart For WooCommerce.
  4. Click Install Now, then Activate.

Option 2 – Manual Upload

  1. Download the plugin .zip file from the WordPress Plugin Directory.
  2. Go to Plugins > Add New > Upload Plugin.
  3. Upload the .zip file and click Install Now.
  4. Click Activate after installation completes.

Setting Up the Enquiry Cart Page

Before the plugin is fully functional, you need to create a dedicated page where customers can review their enquiry cart and submit their quote request.

  1. Go to Pages > Add New in your WordPress dashboard.
  2. Give the page a title, for example: Request a Quote or Enquiry Cart.
  3. In the page content area, add the following shortcode:
[gm_woo_enquiry_cart]
  1. Publish the page.
  2. Go to the plugin settings and set this page as the Enquiry Cart Page.

This page will display the products the customer has added to their enquiry cart, along with the submission form.


General Settings

Go to the plugin settings panel in your WordPress dashboard to configure the following options.

Enable / Disable

Toggle the entire enquiry cart on or off without deactivating the plugin. When disabled, the standard WooCommerce Add to Cart button is restored.

Show Button For

Choose whether the enquiry button is visible to:

  • All visitors — logged-in and logged-out users both see it
  • Logged-in users only
  • Logged-out users only

Show Enquiry Button When Product is Out of Stock

Enable this option to display the enquiry button on out-of-stock products. This allows you to continue capturing leads even when a product is unavailable.

Remove Price From Product

Hide the product price from the shop and product pages. Useful for stores where pricing is negotiable or only shared after a quote is requested.

Hide Add to Cart Button

Completely replace the WooCommerce Add to Cart button with the enquiry button. This converts your store into a quote-only experience.

Disable WooCommerce Cart and Checkout

Disable the standard WooCommerce cart and checkout pages entirely. Use this for stores that operate exclusively on a request-a-quote basis.

Redirect After Submission

Set a custom URL to redirect customers to after they successfully submit an enquiry. Use this to display a thank-you page or confirmation message.


Button Settings

Enquiry Button Label

Customize the text that appears on the enquiry button. Examples:

  • Request a Quote
  • Get a Price
  • Ask About This Product
  • Add to Enquiry

Button Color

Set a custom background color for the enquiry button to match your theme or brand.

Button Display Location

Choose where the enquiry button appears:

  • Shop and Single Product Page — button shows on both the main shop/category listings and individual product pages
  • Single Product Page Only — button only shows on individual product pages
  • Custom Location — place the button manually anywhere using a shortcode

Enquiry Form & Custom Fields

The enquiry cart submission form can be extended with custom fields to collect additional information from customers at the time of submission.

Adding Custom Fields

Go to the plugin settings and navigate to the Custom Fields section. You can add the following field types:

  • Text — single-line text input (e.g. company name, phone number)
  • Textarea — multi-line text input (e.g. additional notes or requirements)
  • Select — dropdown menu with custom options
  • Checkbox — single or multiple checkbox options
  • Radio — radio button group for single-choice selections

Each custom field can be set as required or optional. The data submitted in custom fields is saved with the enquiry entry and included in email notifications.


Email Notifications

The plugin sends email notifications when an enquiry is submitted. You can customize these emails from within the plugin settings.

Admin Notification

An email is sent to the store admin (or a custom email address you define) whenever a new enquiry is submitted. This email includes the list of enquired products, customer details, and any custom field responses.

Customer Confirmation Email

An automatic confirmation email is sent to the customer after they submit their enquiry. You can customize the subject line, body text, and any dynamic variables included in the email.

Email Customizer

Use the built-in email customizer to edit the content, layout, and messaging of both the admin and customer emails without touching any code.


Include / Exclude by Category

You can control which product categories the enquiry cart applies to instead of enabling it store-wide.

  • Include by Category — show the enquiry button only on products that belong to selected categories
  • Exclude by Category — show the enquiry button on all products except those in selected categories

This is useful for stores that sell both standard products (with normal checkout) and custom or wholesale products (with quote requests).


Shortcodes

Enquiry Cart Page

Place this shortcode on the page you create for the enquiry cart. It displays the full cart with added products and the submission form.

[gm_woo_enquiry_cart]

Enquiry Button – Current Product

Display the enquiry button inside any page or post content. When used on a single product page, it automatically targets that product.

[gmpqcw_enquiry_single_product]

Enquiry Button – Specific Product by ID

Display the enquiry button for a specific product anywhere on your site by passing the product ID.

[gmpqcw_enquiry_single_product id='123']

Replace 123 with your actual WooCommerce product ID. You can find the product ID by going to Products in your dashboard and hovering over the product name — the ID appears in the URL shown at the bottom of your browser.


Viewing & Exporting Enquiries

View All Enquiries

  1. Go to the plugin’s admin panel in your WordPress dashboard.
  2. Click on Enquiry List or All Quotes.
  3. You will see a table of all submitted enquiries with customer details, product selections, and submission date.

Export as CSV

Click the Download CSV button from the enquiry list view to export all quote submissions as a spreadsheet. This is useful for sharing with your sales team or importing into a CRM.


Webhook Integration

You can configure the plugin to call a webhook URL automatically after each enquiry form is successfully submitted. This allows you to connect your enquiry workflow with external tools such as CRMs, email marketing platforms, or automation services like Zapier or Make (formerly Integromat).

How to Set Up a Webhook

  1. Go to the plugin settings.
  2. Find the Webhook field and enter your webhook URL.
  3. Save your settings.

The plugin will send a POST request to your webhook URL containing the enquiry data (products, customer details, and custom field responses) after each successful submission.


DOM Event – Developer Hook

For developers who need to trigger custom actions after an enquiry is submitted — such as firing a Google Analytics event, a Facebook Pixel conversion, or a custom marketing tag — the plugin dispatches a JavaScript DOM event called Gm_quote_cart_submitted.

Add the following code to your theme’s JavaScript file or a custom script to listen for this event:

window.addEventListener('Gm_quote_cart_submitted', (event) => {
  const { success, formData, result } = event.detail;
  if (success) {
    console.log("Enquiry submitted successfully:", result);
  } else {
    console.error("Enquiry submission failed:", result);
  }
});

The event detail object contains three properties:

  • success — boolean, true if the form submitted successfully
  • formData — the submitted form data
  • result — the server response

Use this event to trigger any third-party pixel, tag, or analytics event without modifying plugin files.


Frequently Asked Questions

Does this plugin require WooCommerce?

Yes. Enquiry Cart For WooCommerce is a WooCommerce add-on. WooCommerce must be installed and active on your WordPress site.

Can I use this alongside the standard WooCommerce checkout?

Yes. You can configure the plugin to show the enquiry button only on specific product categories, leaving the standard Add to Cart button active on all other products.

Can I show the enquiry button only to logged-in users?

Yes. The plugin settings let you control button visibility for logged-in users, logged-out users, or all visitors.

Can I collect additional information from customers on the enquiry form?

Yes. The plugin supports custom fields including text, textarea, select, checkbox, and radio types. All responses are saved with the enquiry and included in email notifications.

How do I export all submitted enquiries?

Go to the plugin’s admin panel and click the Download CSV button to export all enquiry submissions as a spreadsheet file.

Can I hide the product price?

Yes. Enable the Remove Price From Product option in the plugin settings to hide prices from shop and product pages.

Can I redirect customers after they submit an enquiry?

Yes. Set a custom redirect URL in the plugin settings. Customers will be sent to that URL after a successful submission.

Does the plugin support webhooks?

Yes. You can configure a webhook URL in the plugin settings. The plugin will send a POST request with the enquiry data to your URL after each successful submission.

Is the plugin translation ready?

Yes. The plugin is fully translation ready and compatible with standard WordPress translation workflows and WPML.

Will the enquiry button show on out-of-stock products?

Yes. Enable the Show Enquiry Button When Product is Out of Stock option in the settings to capture leads on unavailable products.