Magento 2 extension

Hide Price Until Login

Hide prices and the Add to Cart button from guests or from chosen customer groups, and show your own message instead, such as Log in to see the price or Call for price.

$25 one-time licence

What it does

Hide prices and the Add to Cart button from guests or from chosen customer groups, and show your own message instead, such as Log in to see the price or Call for price.

Hide prices and the Add to Cart button from the customer groups you choose, usually guests, and show your own message instead, such as Log in to see the price or Call for price. In its section under Stores > Configuration you pick the groups and apply the rule to all products, to chosen category IDs, or only to products you mark; each product can also be set to always hide or always show. The message replaces the price on product pages, category and search lists, widgets and wish list, and can link to the login page, a custom URL, a tel: or mailto: link, or nothing. The cart refuses hidden products, and price amounts are removed from page scripts and Open Graph tags. Settings can differ per website and store view. For example, a wholesaler can show prices only to approved trade accounts.

Features

  • Hide prices from any customer groups, including visitors who are not logged in
  • Cover all products, the products of selected categories, or only the products you mark
  • Per-product setting: use the configuration, always hide, or always show
  • The Add to Cart button is not shown, and the cart refuses the product if it is added in another way
  • Your own message in place of the price, linking to the login page or to a custom URL such as a contact page, or shown as plain text
  • Works on product pages, category and search lists, related products, widgets, compare and wish list
  • Price amounts are also removed from the product page's JavaScript configuration and Open Graph tags
  • Compatible with full page cache
  • Different settings per website and store view

Screenshots

Hide Price Until Login screenshot 2
Hide Price Until Login screenshot 3

Installation

After purchase you get the package and the PDF user guide. Install it with Composer, or ask us to install it for you:

composer require modvanta/module-hide-price
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:flush

Hide Price Until Login: questions

Which Magento versions does Hide Price Until Login support?

Magento Open Source and Adobe Commerce 2.4 (developed and tested on 2.4.9), with PHP 8.1 to 8.5 and Luma-based themes. If your store runs Hyva or a headless front end, tell us first and we check it before you buy.

How much does Hide Price Until Login cost?

$25 as a one-time payment for one Magento installation. You get the full source code and a PDF user guide. There is no yearly fee.

How do I install Hide Price Until Login?

With Composer: composer require modvanta/module-hide-price, then bin/magento setup:upgrade. We can also install and configure it on your store.