Skip to content

The Visitor Experience

This page is the storefront side of the plugin, seen as a guest on the demo store. Each section is one thing a visitor can run into. The demo runs Pro, where each rule can have its own message and button. In the free version every hidden product shows the same message and button, from the Display tab.

Products whose price is hidden show your message where the price was. Their Add to cart button is replaced by the replacement button, or removed. Products the plugin does not cover look exactly as they did before.

The shop as a guest: cheaper items priced, others showing the message

The message has a light blue badge by default. Clear the Background Color on the Display tab and it becomes plain coloured text instead.

The free version has three actions: log in, a custom URL, or no button. Pro adds Request a quote, and each rule picks one, so a store can use all four at once.

The default. The button opens a login popup.

A product with the login button

The button opens a quote form. The demo uses it for the Accessories category, with the message “Price on request”.

A product with the Request a Quote button

The button is a plain link to any page. The demo sends sunglasses buyers to its contact page to apply for a trade account. The message here uses the {product_name} placeholder.

The sunglasses with an Apply for a trade account button

Only the message shows. The demo uses it for a launch, where there is nothing to do yet but wait.

A hoodie showing Prices go live on 1 November and no button

The visitor logs in without leaving the product.

The login popup over the product page

It is WooCommerce’s own login form, so it has Remember me and Lost your password?. When WooCommerce lets customers create accounts on My Account, a New here? Create an account link appears under the form. It goes to the My Account page.

After logging in, the visitor lands back on the same product. If no rule hides prices from their role, the price and the Add to cart button are there.

The same product after logging in, with its price and the Add to cart button

With Login Popup turned off on the Display tab, the button goes to the My Account page instead, and the visitor still returns to the product after logging in.

The form asks for Name and Email (both required), Phone, Quantity and a Message. The product’s name sits above the fields. A signed-in visitor finds their name and email filled in.

The quote form filled in for 40 beanies

Send Request saves the request and shows the success message in the form. The fields clear, so the visitor can ask about another quantity.

The quote form after sending, with the thank-you message

The visitor also gets a copy of their request by email, if Customer Copy is on.

In Pro each variation is checked on its own. In the free version you pick the variation by name in Products, or protect the whole product. On the demo’s Organic V-Neck Tee the $20 Red variation is hidden and the $15 Blue one is not. Pick Red, and the message and the login button appear where the price and Add to cart would be.

The Red variation selected: hidden price and the login button

Pick Blue, and the price and Add to cart come back.

The Blue variation selected: $15 and Add to cart

The price under the title reads “$15.00”. The product’s full range is $15 to $20, but the $20 figure belongs to a hidden variation, so it is left out. See How Hidden Prices Work.

With What to Hide set to Add to cart button only (keep the price) on the General tab, the price stays and only the button is replaced. Visitors can compare prices, and still have to log in (or use your link) to buy.

The sunglasses as a guest: $90.00 showing, and a login button in place of Add to cart

In the shop, every protected product keeps its price and swaps its Add to cart for the button.

The shop with prices showing and login buttons in place of Add to cart

A link such as ?add-to-cart=21 for a hidden product does not add it. WooCommerce answers “Sorry, this product cannot be purchased.”

The notice Sorry, this product cannot be purchased above the product

Prices are hidden from guests unless you add a role to the audience. On the demo, a signed-in customer sees every price except the sunglasses, whose rule includes the Customer role. That rule’s wording asks for a trade account rather than a login, because some of the people reading it are already signed in.

The sunglasses as a signed-in customer: still hidden, with the custom URL button

A login button never shows to someone already signed in. With the login action, a signed-in visitor in the audience gets a Learn more button to your Custom URL instead, such as a trade application page. With no custom URL set, they see the message and no button.

The sunglasses as a signed-in customer with Customer in the audience: the message and a Learn more button