Skip to main content

How can I add a button that allows customers to hide and show prices?

In Core-portal Standard+, you can add a menu item that allows your customers to hide or show prices on the webshop themselves.

Note: You must add both the menu item for Hide prices and the menu item for Show prices. Otherwise, the customer will not be able to switch back on the webshop after the prices have been hidden.
​

The step-by-step guide below explains how to add both menu items and keep the recommended retail price visible.
​

Adding menu items

Step 1. Search for the Menu Management module (under the Website heading) and open it.

Step 2. Click the Menu items button behind the Top menu.


​

Step 3. Click Add to create the menu item. The screen below appears.


​

Step 4. Enter the details for hiding the prices:

  • Title: Enter an internal title.

  • Type (first field): Select Hide prices.

  • Type (second field): Select which type of webshop the menu item applies to (for example, Both, Pre-order, or Stock).

  • Visibility: Check which user groups (Customer, Sales agent) the menu item is visible to.

  • Name: Enter the text displayed on the webshop for each language.

  • Active: Check this option to activate the menu item.

    image_33d9a5.png+ 2

Step 5. Click Save.

Step 6. Repeat steps 3 through 5 to create the second menu item as well, but select Show prices in the top Type field.

Keeping recommended retail prices visible (optional)

Step 7. Go to the Settings module and click the Products tab.

Step 8. Find the setting Show recommended retail price even when other prices are hidden and check it.

Step 9. Click Save to apply the change.

How it works on the webshop frontend

Once both menu items are active, the toggle on the frontend works as follows:

  • By default, the visitor only sees the Hide prices option. Once clicked, that option disappears and the Show prices menu item automatically appears.

Did this answer your question?