Hide Price for Magento 2
Hide prices and Add to Cart for guests or chosen customer groups and show a “Call for Price” button instead.
Why choose Hide Price?
Not every catalog should show prices to everyone. Hide Price removes prices and the Add to Cart button for guests or chosen customer groups and replaces them with a styled "Call for Price" badge and a button to your contact, quote-request or login page.
Visibility can be set per page type and overridden per product or category, and it applies consistently to widgets, the home page, REST and GraphQL. Best for: B2B and wholesale stores, quote-based products, dealer portals and MAP-compliance.
Key features
- Customer Group Targeting
- Styled Replacement Badge
- Configurable Call-To-Action Button
- Independent Page Visibility Controls
- Product-Level Override
- Category-Level Override
- Clear Priority Resolution
- Widget & Home Page Coverage
- REST & GraphQL Support
- Store-View Scope Throughout
- Enable / Disable without Uninstalling
- Zero Core Code Modifications
At a glance
| Module name | Mage2Expert_HidePrice |
|---|---|
| Composer package | mage2expert/module-hide-price |
| Settings | Stores › Configuration › Mage2Expert › Hide Price (10 options) |
| Per store view settings | Yes |
| API | REST: 1 endpoint; GraphQL: extra fields on ProductInterface |
| PHP | 8.1, 8.2, 8.3, 8.4, 8.5 |
Installation
After purchasing on the Adobe Commerce Marketplace, install it with Composer using your Marketplace access keys:
composer require mage2expert/module-hide-price
bin/magento module:enable Mage2Expert_HidePrice
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy -f
bin/magento cache:flush
Skip setup:di:compile and static-content:deploy if your store runs in developer mode.
Configuration reference
All 10 options under Stores › Configuration › Mage2Expert › Hide Price, grouped as they appear in the admin.
General 3
| Setting | Description |
|---|---|
| Enable Hide Price | Master switch. When disabled, prices and Add to Cart display normally everywhere. |
| Hide Price For Customer Groups | Includes "NOT LOGGED IN" to target guests. |
| Replacement Price Text | Shown in place of the price, e.g. "Call for Price". |
Call To Action 2
| Setting | Description |
|---|---|
| CTA Button Label | Replaces the Add to Cart button, e.g. "Contact Us for Price". |
| CTA Target CMS Page | The CTA button redirects here. |
Page Visibility 5
| Setting | Description |
|---|---|
| Hide on Product Page | |
| Hide on Category/Search Listing Pages | Covers category listing and quick search results grids. |
| Hide on Compare Page | |
| Hide on Wishlist Page | |
| Hide on Other Pages | Catch-all for widgets, homepage and CMS-embedded product listings. |
Developer reference
REST API
| Method | Endpoint |
|---|---|
GET | /rest/V1/hideprice/status/:sku |
GraphQL
ProductInterfacegainshide_price_status
Frequently asked questions
How much does Hide Price cost?
Which Magento and PHP versions are supported?
Where do I configure Hide Price?
Can I switch it off without uninstalling it?
Can the settings differ per store view?
Does it have an API?
Can it be customised for my store?
More Catalog & Storefront
Related extensions
Ajax Search Autocomplete
Instant search-as-you-type results with products, categories and pages shown in a fast dropdown.
360 Product View
Turn a series of ordinary product photos into an interactive 360° view, so shoppers can turn the product around before they buy.
Product Labels
Rule-based text or image badges such as “New” or “Sale” on product images, everywhere they appear in your store.
Have a Magento project in mind?
Tell me about your store and what you need. I reply to every enquiry within one business day.
Adobe Certified Expert
Adobe Commerce Developer certification, verified on Credly.
15+ years of Magento
From Magento 1 to Magento 2.4.x, Adobe Commerce and Hyvä.
62 Marketplace extensions
Each one reviewed and approved by Adobe.





