B-219 Sec-55 Noida, India

Tip to hide the price of the product if Magento user is not logged in

Tier pricing is great, but you don’t want to display every price to every customer. To show tiered pricing to logged in visitors only, go to:


 On this file, add this PHP function

<?php if(Mage::getSingleton(‘customer/session’)->isLoggedIn()): ?>

 The above function should be added before the following piece of code

 <?php if (count($_tierPrices) > 0): ?>

Then add this code at the end.

<?php endif; ?>

(Visited 62 times, 1 visits today)

Leave a reply

You must be logged in to post a comment.