Choosing which products can be quoted
This article explains the rules that decide where the Add to quote button shows, which products can still be bought, and which prices are hidden.
The four rules
| Rule | Add to cart | Add to quote | Price |
|---|---|---|---|
| Add to cart and Add to quote | Yes | Yes | Shown |
| Add to quote only | No | Yes | Shown |
| Add to quote only, price hidden | No | Yes | "Price on request" |
| Add to cart only | Yes | No | Shown |
A product that is quote only cannot be added to the cart in any way. If it was in a shopper's cart before you changed its rule, it is taken out of the cart with a message.
Where rules are set
- WooCommerce > Settings > Quotes > All products: the rule for every product without one of its own. It starts as Add to cart and Add to quote.
- WooCommerce > Settings > Quotes > Visitors who are not logged in: a different rule for shoppers who are not logged in, for example to hide prices until they log in. It starts as Same as all products.
- On a product category, under Products > Categories, the Quote field.
- On a product, in the General tab, the Quote field.
A product's own rule comes first. If it has none, the rule of a category it is in applies; when its categories have different rules, the strictest one wins, in this order: price hidden, quote only, both buttons, cart only. A category's rule covers the products in that category, not those in its subcategories only. Then comes the rule for visitors who are not logged in, and last the rule for all products.
Hidden prices
When a product's price is hidden, shoppers see "Price on request" where the store shows its price: on its page, in product grids, in the cart's suggestions, in the data the store's blocks load into the page, in the store's public product data (the Store API), and in the product data that search engines read. You still see the price in wp-admin and in WooCommerce's REST API for staff.
The price stays in your store, so some things still use it:
- filtering or sorting products by price, in the shop and in the Store API, still places a hidden-price product by its real price, so a determined visitor could narrow it down; if that matters, remove the price filter from shop pages that show hidden-price products;
- product feeds and SEO plugins that read prices themselves, such as Google or Facebook feeds, are not changed by this plugin; leave hidden-price products out of them.
The button text
WooCommerce > Settings > Quotes > Button text changes "Add to quote" on every button.