User Tools

Site Tools


Sidebar

magento_2:hide_price

See how the Hide Price for Magento 2 extension works.

Guide for Hide Price for Magento 2

Effectively manage price display depending on customer groups. Hide prices for specific store items or whole product categories. Remove the 'Add to Cart' button or replace it with a custom one. Easily gather customers' info to contact them directly, thus effectively personalizing customer approach.

  • Hide prices on category and product pages
  • Deactivate the 'Add to Cart' button
  • Show prices based on customer groups
  • Customize 'Hide Price' messages
  • Redirect customers to any store page
The extension is compatible with Hyvä Theme. You can find the 'amasty/module-hide-price-hyva' package for installing in composer suggest. The compatibility is available as a part of an active product subscription or support subscription.

General Settings

To configure extension settings, please go to StoresConfigurationHide Price.

Price Visibility by Categories & Groups

To run the module on Magento 2.3, Laminas DOM package should be installed. Please, run the following command in the SSH: composer require laminas/laminas-dom

Enable Extension - set the option to 'Yes' to activate the extension.

Hide Price for Selected Category(s) - select a category (categories) in which all product prices will be hidden.

Hide Price for Selected Group(s) - select a customer group (groups) for which the prices in selected above categories will be hidden.

IMPORTANT: If you don't want to hide prices for whole categories you can easily hide them for specific products. Simply open the necessary product page here ProductsCatalog and disable price visibility. Here you can also specify a customer group for which the product price won't be available.


Exclude customers & products

If you hide prices for whole product categories and customer groups, you can exclude specific products and customers from the price display limitation.

Don't Apply to Product ID's - specify product ID's to which price display limitations won't be applied.

Don't Apply to Customer ID's - specify customer ID's to which price display limitations won't be applied.

The following email settings will be used when a store administrator replies to a customer quote request via email.

Email Sender for Admin Reply - select a sender contact for store admin notifications.

Email Template for Admin Reply - select an email template for admin notifications.


Hide Price Options

Hide Price - enable the option to hide prices for selected products or product categories.

Hide Add to Cart - set the option to 'Yes' to remove the “Add to Cart” button.

Replace ‘Add to Cart’ Title with - specify the custom title for the replaced button.

Css Styles for Replaced Link - customize the CSS Styles for the replaced Link.

Replace ‘Add to Cart’ Link with - select the way to replace ‘Add to Cart’ link.

Custom Form - for Link to Custom URL specify the particular link. If Popup with Custom Form is selected, specify the form to be used.

Employ Custom Form for Magento 2 to create custom quote request forms of various types, specifying additional information you need to generate a special price offering.

Hide Add to Wishlist - This setting lets you hide/display the “Add to Wishlist” option.

Hide Add to Compare - Enable/disable adding products to the comparison.

You can let shoppers add products to wishlists and compare even when their price is hidden.

Frontend Options

Hide Price Text - specify a custom text that will be used for a custom button instead of the “Add to Cart” option.

Custom CSS Styles for “Hide Price Link” - you can customize the button display (which is used instead of “Add to Cart”).

Upload an Image - upload any image you need to show it instead of a price.

Link URL - by default we've already specified a “Get a Quote” form code here (once a customer clicks on a custom button the form will be shown), but you can insert any link you need to redirect customers to the necessary store page.

Below you'll see the example of a 'Hide Price' popup.

Admin Email Notifications

The module lets you notify admin users about new 'Get a Quote' requests via email.

Send Email to - specify an email address to which a new quote request notification will be sent. Leave Empty to Disable Notifications.

Email Sender - select an email sender contact.

Email Template - select an email template that will be used for admin user notifications.


Auto Reply Email Options

Use auto replies to quote requests to inform customers that their request is delivered and is being processed.

Enable - set to 'Yes' to activate the Auto reply option.

Email Sender - select an email contact from which auto replies will be sent.

Email Template - select an email template that will be used for auto replies.


Enable the option in the GDPR Consent section to collect customers consents to your Privacy Policy.

In the Custom Stock Status section, you can select the stock statuses you want to hide prices for. Prices will be automatically hidden for all products of the chosen stock statuses.

The feature is available only when the Magento 2 Custom Stock Status extension is installed.

Developer Options

These advanced options should be changed only if you use a custom Magento theme.


Get a Quote Requests

All “Get a Quote Requests” are displayed in a special grid. To see the grid please go to Marketing → Get a Quote Requests.

Click on the request you need to see its details.

To check all submitted data from a Custom Form for Get a Quote Requests, please click the link above the grid.

View all submitted data on the grid. You can easily delete requests via Actions dropdown menu.

To see the Quote Request info, customer info and contact details, click the View button.

With the extension you can view the response status and send the email right from the backend.


Frontend Examples

Hide prices on category pages and display custom buttons instead of the “Add to Cart” option.

You can hide prices from specific customers, but still let them add products to Wishlists and Compare.

It's possible to hide prices for whole product categories and exclude specific items from price display limitations.


Find out how to install the Hide Price extension for Magento 2 via Composer.
Rate the user guide
 stars  from 6 votes (Details)
magento_2/hide_price.txt · Last modified: 2023/09/28 09:44 by asemenova