ECommerce Insights Blog

Stay on top of it all and get ahead with useful articles, how-tos, tips and tricks on e-commerce.

How To Install & Configure Magento Hide Price Extension?

Magik Hide Price is unarguably the most powerful Magento extension for hiding product price from guests, visitors or customers. Magento Hide Price is designed to be very easy to use & configure. Hide price extension enables store owners to apply the global settings on entire category which can be disabled for individual products if needed. Since, it supports many useful features and comes with clean installation & configuration options. I would just take few minutes of your time to explain how to install & configure Magento hide price extension.

Magento Hide Price Features

Magento hide price extensions can be configured in 3 ways, we are going to explain each of them little further:

1. Hide Price & Add to Cart Button

If you want to hide prices only from your guests, visitors then this is the perfect tool for you. It will simply hide the product prices on your store’s front-end and display a pre-defined message. E.g. Please login to see the price!. Please note that it will only hide prices from non-logged in customers, your other registered and logged in members will see the product prices and they won’t even realize that the prices are hidden from guests.

2. Call for Price

If admin has setup “Call for price” option then all guests, visitors or even customers will not be able to see the product prices, instead they will see store’s phone number to inquire about the price. The true beauty lies in the inquiry form where admin can configure to display a nifty form to be filled by customer to inquire price of any specific product. If customer fills up the form, this request email is sent to store admin. You can also configure whether you (store owner) are willing to send a confirmation email to the customer. This helps in staying in touch with the customer and customer also knows that you have received his request.

3. Inquiry Form

If you are looking to hide add to cart button for specific product or entire category this is what you should configure. If set, the extension will keep showing the product prices but will disable/remove/hide add to cart button for everyone. For safety reasons some products may not be sold online so they can be shown with the prices but instead of showing add to cart you want to display an inquiry form link, which will show a popup with contact details of store owner or with a form to be filled by the customer to inquire about the product.

Installing Magento Hide Price Extension

You have the complete control over all aspects of this, since all the above options are configurable from admin. Now, let’s see how to install Magento hide price extension for any Magento store.

We recommend you to install extension you purchased/downloaded in a testing environment before deploying it to your production environment. Also it would be wise to backup your Magento installation (files and database) before installing hide price extension and make sure no conflicting extensions are installed. Hide Price extension is fully tested in clean Magento installations without any third party extensions and we can’t guarantee compatibility with any or all third party extensions.

Installation is pretty straightforward and well documented in Installation and configuration PDF manual, here is a recap:

  1. If you’re using the Magento compiler or if you are unaware of it, we recommend you to please log into the Magento back-end and go to System > Tools > Compilation and turn it off. If you don’t do this, there are chances that you end up breaking your Magento installation.
  2. It is recommended that you disable the cache before installing any Magento extension.
  3. Open the extension’s zip file you must have downloaded from and extract it to a directory on your computer using a tool like WinRar, WinZIP and others.
  4. Upload the extracted folders and files as per the structure shown in the .zip. All folders should match the existing folder structure.

Add following code in the product listing page magento/app/design/frontend/default/your_theme/template/catalog/product/list.phtml Now, look for the following code below in list.phtml file

isSaleable()): ?>

__('Out of stock') ?>

Copy this code somewhere as backup. you will have to place this code just inside the comment like this



Now replace above given code with the following (keep a backup copy safe somewhere, you will need it later)

getIsEnabled()) {

  if(Mage::helper('hideprice')->chkStatus($_product->getId())!='0') { 

     if(Mage::helper('hideprice')->chkStatus($_product->getId())==2){ ?>  



isSaleable()): ?>

__('Out of stock') ?>

isSaleable()): ?>

__('Out of stock') ?>

You should add this in both grid and list views.

6. Magento uses caching a lot so it’s wise to clear the cache. Do not forget to clear cache from var/cache folder. Now, log into your store’s admin panel. You will see a new Tab Hide Price Configuration under System-> configuration to set up hide price extension global settings.

7. If you see a 404 Error when trying to open the configuration section Log out of the Magento admin and log back in.

8. If you’re using the Magento compiler and had it disabled before installing the extension, go to System > Tools > Compilation and click on Run Compilation Process to re-compile Magento and enable it again by clicking on Enable.

That’s it, you are all set. Read this guide and learn how to use Magento hide price extension.

Watch this interesting video, on how to use Magento Hide price extension or Magento call for price extension.

We would love to hear your experiences of installing and configuring Magento hide price extension, please leave us a comment and let us know.