Is it possible to hide the price for users that are not logged on?
I saw there was an option to disbale checkout for users that are not logged (which I also couldn’t make to work) but this goes one step further.
Printable View
Is it possible to hide the price for users that are not logged on?
I saw there was an option to disbale checkout for users that are not logged (which I also couldn’t make to work) but this goes one step further.
Just found a solution that hides price in comparison, catalog overview and detail
It is not yet complete as I also have to hide tier prices but it’s a good startmagento\app\design\frontend\default\<your default>\template\catalog\product\price.phtml
<?php if(Mage::getSingleton('customer/session')->isLoggedIn()): ?>
just above (line 26)
<?php if (!$_product->isGrouped()): ?>
and close it at the end of the file
<?php endif; /* if ($this->isCustomerLoggedIn()): */ ?>
Work for me, thanks
There are extensions that can hide price and add an editable note - see the Hide Price extension
Hi please check out this extension
http://www.magentocommerce.com/magen...rice-3163.html
Its allow you replace price with custom text, also it can be done for different customer groups.
I hope it will help you
Thank you
Hi,
Please checkout Magento Hide Price Extension
This extension will allow you to hide the price & add to cart button with custom message or Show call for price or Enquire form.
I hope it will help you
There is a extension you can put on your Magento online store! There is also a tool which removes price and blocks the ‘Add to cart’ button for logged out and unregistered site guests, and even specific user groups if necessary. Thanks
Hi,
You can try this Magento Hide price extension from Modulebazaar. It will hide the price for not login users, particular group of peoples and particular category of site products.
http://www.modulebazaar.com/en/magen...extension.html
Hello,
You can contact our team for direct Magento support. We offer premium services with competitive rate.
You can check our portfolio here:
http://ecommage.com
And why you should choose us as provider:
http://ecommage.com/blog/magento-outsourcing-services/
Best regards,
Ecommage team
Magento Hide Price - Magento extension to Hide Price by Cmsideas- $39
DEMO: http://cmsideas.net/magento-hide-price-extension.html
Features:
Allow admin to choose from three options which are:
+ Show all price
+ Show price with customer logined
+ Hide all price
These options will facilitate admin's store management process.
Allow hiding price on block types
Admins can enter the product block they want to hide price in backend.
Able to hide price based on customer groups
For example, admin can hide price when they offer one product at different prices for wholesalers and retailers.
Allow showing some custom messages which encourage customers to contact with admin.
Admin can add texts as custom messages in text areas:
+ Message notice to not permitted groups
+ Message notice to not permitted categories
+ Message notice to not permitted products
Attachment 1773
DEMO | Magento Hide Price | Magento Package
NOTE: From 13/2 to 30/4. Magento Packages now discount 50%- Comprehensive solutions for e-commerce website
Magento Package 1- Only $142.5 for 5 extensions: Magento Full Page Cache, 20 + Actions Manage Products in Backend, Quick View Pro ,Magento Revolution Slider and Magento Daily Deal .
Magento packages 2- ONLY $132.5 for Add Columns to Order Grid in Backend, Extended PDF Invoice, Magento Full Page Cache, Magento Advanced Sorting Product List and Magento Mobile Theme
For more, click: here
If you need to use a plugin, please checkout Hide prices Magento module by FME, you can hide prices for different customers and products.
The solution provided by Roberto is better as this extension offers complete functionality to hide product prices from specific customer groups.
Here is the direct link for more details - http://www.fmeextensions.com/magento-hide-call-for-price.html
Hello! This functionality is not included in Magento out of the box but can be achieved with the help of extensions. For example, you can check out this one https://amasty.com/magento-hide-price.html
When i am checkout from konakart, its redirecting to konakart login page. Instead of this, i need to redirect liferay login page. How to do this??
you all shared a good thing in magento.
<?php if(Mage::getSingleton('customer/session')->isLoggedIn()): ?>
just above (line 26)
<?php if (!$_product->isGrouped()): ?>
and close it at the end of the file
<?php endif; /* if ($this->isCustomerLoggedIn()): */ ?>
Apply this code for hide price for not login user.
Hello, what you have requested cannot be achieved with Magento default, so I recommend that you should install this extension: Advanced Hide Price by BSSCommerce http://bsscommerce.com/advanced-hide...magento-2.html
This extension allow wonderful features:
- Flexibly hide price of a particular product, a certain category, or for a specific customer group.
- Hide price and replace Add to Cart button with Call For Price button which link to Inquiry form in AJAX popup for customer to submit price request.
Attachment 5683
- Hide price and replace Add to Cart button with a custom CTA message to encourage customer interaction
Attachment 5684
- Present customer requests in Customer Inquiry List with options to view detailed information of request and send email to customers
- Automatically send email notify admin of customer request. Different email templates available.
- Different templates available for email answering customer request
- Easy to configure in backend with display of two main configs, including Call For Price Config and Hide Price Config with customizable text and capability to apply for different categories and customer groups
- Support all Magento product types: simple, configurable, grouped, bundle, virtual, downloadable products
- Compatible with multiple store views
Check it out for Free Installation, Free Update, Free Support!
Hi,
Let’s hide prices for guest users everywhere.
Open app/design/frontend/base/default/template/catalog/product/ folder and copy price.phtml file to the app/design/frontend/base/template/themeXXX/catalog/product/ folder, where XXX is the number of your theme, and then place the following code on top of it:
?
1
2
3
4
5
6
<?php
if(!Mage::getSingleton('customer/session')->isLoggedIn()){
echo '<span class="login_for_price"><strong>Login to See Price</strong></span><br>';
return;
}
?>
Now we will hide the ‘Add to Cart’ button on category list page. Open /app/design/frontend/default/themeXXX/template/catalog/product/list.phtml file and look for the following code:
?
1
2
3
4
5
<?php if($_product->isSaleable()): ?>
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button><br>
<?php else: ?>
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
<?php endif; ?>
and replace it with:
?
1
2
3
4
5
6
7
8
9
10
11
12
<?php
if(!Mage::getSingleton('customer/session')->isLoggedIn()){
echo '<span class="login_for_details" style="float:left"><strong>Login to Add to Cart</strong></span>';
}
else{
?>
<?php if($_product->isSaleable()): ?>
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button><br>
<?php else: ?>
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
<?php endif; ?>
<?php }?>
and save changes.
Now we will hide the ‘Add to Cart’ button on product detail page. Open app/design/frontend/default/themeXXX/template/catalog/product/view/addtocart.phtml file.
Add the following code on top of it:
?
1
2
3
4
5
6
<?php
if(!Mage::getSingleton('customer/session')->isLoggedIn()){
echo '<span class="login_for_details" style="float:left"><strong>Login to Add to Cart</strong></span>';
return;<
}
?>
and save changes.
In order to hide the ‘Add to Cart’ button on compare page page, open /app/design/frontend/base/default/template/catalog/product/compare/list.phtml file and copy it to /app/design/frontend/default/themeXXX/template/catalog/product/compare/ folder.
Open it and look for the following code:
?
1
2
3
4
5
<?php if($_product->isSaleable()): ?>
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button><br>
<?php else: ?>
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
<?php endif; ?>
and replace it with:
?
1
2
3
4
5
6
7
8
9
10
11
12
<?php
if(!Mage::getSingleton('customer/session')->isLoggedIn()){
echo '<span class="login_for_details" style="float:left"><strong>Login to Add to Cart</strong></span>';
}
else{
?>
<?php if($_product->isSaleable()): ?>
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button><br>
<?php else: ?>
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
<?php endif; ?>
<?php }?>
and save changes.
In order to hide the ‘Add to Cart’ button on Specials page, open /app/design/frontend/default/themeXXX/template/catalog/product/widget/sale/sale_default_list.phtml file and look for the following code:
?
1
2
3
4
5
<?php if($_product->isSaleable()): ?>
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button><br>
<?php else: ?>
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
<?php endif; ?>
and replace it with:
?
1
2
3
4
5
6
7
8
9
10
11
12
<?php
if(!Mage::getSingleton('customer/session')->isLoggedIn()){
echo '<span class="login_for_details" style="float:left"><strong>Login to Add to Cart</strong></span>';
}
else{
?>
<?php if($_product->isSaleable()): ?>
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button><br>
<?php else: ?>
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
<?php endif; ?>
<?php }?>
and save changes.
In order to hide the ‘Add to Cart’ button for for new products, open /app/design/frontend/default/themeXXX/template/catalog/product/new.phtml file and look for the following code:
?
1
2
3
4
5
<?php if($_product->isSaleable()): ?>
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button><br>
<?php else: ?>
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
<?php endif; ?>
and replace it with:
?
1
2
3
4
5
6
7
8
9
10
11
12
<?php
if(!Mage::getSingleton('customer/session')->isLoggedIn()){
echo '<span class="login_for_details" style="float:left"><strong>Login to Add to Cart</strong></span>';
}
else{
?>
<?php if($_product->isSaleable()): ?>
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button><br>
<?php else: ?>
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
<?php endif; ?>
<?php }?>
and save changes.