Magento 2 B2B Extensions

  1. Home
  2. Docs
  3. Magento 2 B2B Extensions
  4. Magento 2 Hide Price
  5. User Guide

User Guide

1. Overview

Hide Price for Magento 2 extension allows admin to hide product price and replace Add to Cart button with a custom message or a custom URL. Developed as the standard version of Hide Price Call For Price extension, Hide Price for Magento 2 guarantees to have all hide price functions with some new upgrades.

2. How Does It Work?

There are two levels of Hide Price: Product Config and Global Config, in which Product Config has a higher priority.

2.1 Product config

Go to Products ⇒ Catalog ⇒ Product Edit Page ⇒ Hide Price.

Hide Price per Product

In Hide Price Action, choose 1 of the following 4 options:

  • Use Hide Price Global Config: Apply hide price in Global Config by default.
  • Disable: Disable hide price for the product.
  • Hide Price and “Add to Cart” Button: Hide both product price and Add to Cart button.
  • Show Price and Hide “Add to Cart” Button: Hide Add to Cart button but still show product price.

When you choose to Hide “Add to Cart” Button, the hide price message will be in place.

In Hide Price Message: tailor the message to inform customers of how to get the price.

In Hide Price for Customer Groups, choose the customer groups from which you want to hide price.

In Hide Price URL, enter an URL to link to the custom message.

In the frontend, the price is hidden from the chosen customer groups

Hide price from specific product

2.2 Global config

Go to Stores ⇒ Configuration ⇒ BSSCommerce ⇒ Hide Price General Config.

general settings for hide price global config

In Enabled, choose Yes to enable the extension or No to disable it.

In ‘Add to Cart’ Button Selector, enter the selector of Add to Cart button depending on the website’s theme.

Hide price global config

In Hide Price Action choose options:

  • Hide Price and “Add to Cart” Button
  • Show Price and Hide “Add to Cart” Button

In Hide Price Message, enter a custom message which is shown in place of the Add to Cart button.

In Apply for Categories, choose categories in which you want to hide price from chose customer groups.

Price is hidden on all product pages under the chosen categories except for which you enable the Hide price product config.

In Apply for Customer Groups, choose groups from which you want to hide price.

In Hide Price URL, enter an URL to link to the custom message.

Was this article helpful to you? Yes No

How can we help?