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.
Hi,
Magento does not support this function in backend. If you want to hide the price for non-logged in customers, you should buy our service to customize your business. You can view the information via this link: http://www.ubertheme.com/magento-custom-services/
I hope this helps.
Best Regards,
Windig
Hi,
If you want to hide price for non-logged in user then first you have to find whether someone is logged in or not. To find customer logged in status you can use following code
$flag = Mage::getSingleton('customer/session')->isLoggedIn();
Here $flag will give boolean value. If loggedin then true otherwise false.
Then add condition for your requirement
$flag = Mage::getSingleton('customer/session')->isLoggedIn();
if($flag) {
//Code to show the price
} else {
// What you want to show instead of price for not logged in user.
}
Regards,
Knowband Plugins | Buy Best Magento Extensions
I have been using this extension to hide product price for my site. It is a decent one with quite cheaper price. The call for price function is amazing and very helpful for me to make quick contact with customers.
Hide Price/Call For Price extension for Magento 2 provides store owners with flexible ways to hide price for particular products, certain categories and specific customer groups. With clear options in backend config, admin can display a custom message to encourage customer interaction or a Call For Price form to obtain price request. Know more here.
What does the extension offer?
1. Apply hiding price for products, categories and customer groups
2. Hide price and replace Add to Cart button with a custom message which can easily be changed according to business purposes (Eg: Please login to see price, Price only available for wholesalers…)
Attachment 6885
3. Hide Price and replace Add to Cart button with a Call For Price form which is displayed for customer to submit price request. Button text can be customized to fit store owner’s purposes (Eg: Send price request, Submit price inquiry…)
Attachment 6886
4. Notify admin by email immediately after receiving customer price request
5. Check detailed information of customer requests and send reply email
TRY DEMO
Check it out for free installation service and lifetime update!
Hello! Here you can learn more about how to hide prices in Magento: https://www.itoris.com/blog/magento/...n-magento.html
Hi,
You can use Hide Product Price Magento 2 Extension. It will helps you to hide product price and Add to Cart button from non registered customers.
Hello!
Thank you for sharing!
Looking for a powerful extension that should allow to add "call for prices", replace "Add to Cart" with a custom message, or make guests register to see prices?
Try the Hide Price extension for Magento 2.
Features:
Hide prices globally or per product
Hide prices for specific customer groups
Manage price visibility per category or per product
Set one of the 4 efficient hiding modes
Get familiar with the technique to shroud cost for the visitor clients and not signed In clients in Magento 2. Effectively sort out the private deals in Magento 2.
Magento 2: shroud cost when client not login. Add to dsasmita/magento2-shroud cost not-login advancement by making a record on GitHub.