Zum Inhalt springen

Configuration

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

Estimate has one settings screen and one per-product checkbox. The store-wide options live at WooCommerce → Estimate and are saved together in the estimate_settings option (an array). All five are sanitised on save; an unknown mode falls back to selected and a malformed recipient address is discarded.

The master switch, on by default (enabled). When off, every product keeps its normal Add to cart button, prices are untouched, and the [estimate_quote] shortcode renders nothing, your store behaves as a standard shop. Turn it on for the quote behaviour below to apply. The plugin also ships in selected mode, so even with the switch on, nothing changes until you flag a product.

Controls which products show Add to quote instead of Add to cart (mode):

  • Selected products only (selected, the default), every product stays a normal sale until you tick the per-product checkbox. Use this when you sell a mix of fixed-price and quote-only products.
  • All products (all), every product in the store becomes quote-only and cannot be bought directly. Use this for catalogues with no public prices.

On by default (hide_price). Hides the price on quote-enabled products via the woocommerce_get_price_html filter, so the page shows the Add to quote button with no figure beside it. Leave it on when pricing depends on quantity or specification; turn it off to keep the list price visible next to the button.

The label that replaces Add to cart on quote-enabled products (button_text). Leave it blank to use the translated default, Add to quote. Once a product is already on the visitor’s list, its button instead reads In your quote regardless of this setting.

Where each new request is emailed (recipient). Leave it blank to use your site admin email (get_option('admin_email')), which is shown as the placeholder. An entry that is not a valid email address is dropped on save and the admin email is used. The email is sent through WordPress’s own wp_mail; Estimate connects to no external service, and sets a Reply-To header to the customer so you can reply straight from your inbox.

In Selected mode, edit a product and open Product data → General. The Enable quote requests checkbox stores the _estimate_quote_enabled product meta (yes/no). Only ticked products switch to the Add to quote flow.

In All products mode the checkbox still appears but is moot, its description says so, because every product is quote-enabled regardless of the flag.

  • The request form always collects name and email (both required) plus optional company and message; this is not configurable.
  • The quote list is capped at 100 distinct products and its cookie lasts 30 days, there is no setting for either.
  • There is no template to override: the storefront button and the quote/form markup are rendered directly in PHP, not through a theme-overridable template file. Adjust the look with CSS (see the quote flow).

Settings live in the estimate_settings option. The quote list is a browser cookie (estimate_quote_items), holding only product IDs and quantities, no personal data. Submitted requests are stored as estimate_quote posts with contact details and items in post meta.

Deleting the plugin runs its uninstall routine, which removes the estimate_settings, estimate_db_version and estimate_quote_page_id options. Submitted Quote Request records and the per-product _estimate_quote_enabled flags are kept on purpose, so a reinstall does not lose merchant content; remove them by hand if you want them gone.