Magento Expert Forum - Improve your Magento experience

Page 2 of 2 FirstFirst 12
Results 21 to 30 of 30

How to hide price for not login user in magento?

  1. #21
    Junior Member
    Join Date
    Oct 2016
    Posts
    85
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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

  2. #22
    Junior Member knowband.plugins's Avatar
    Join Date
    Jul 2016
    Location
    Noida, India
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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

  3. #23
    Junior Member
    Join Date
    Aug 2016
    Posts
    121
    Thanks
    11
    Thanked 0 Times in 0 Posts

    Default

    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.

  4. #24
    Junior Member James's Avatar
    Join Date
    Jan 2016
    Posts
    663
    Thanks
    2
    Thanked 13 Times in 12 Posts

    Default

    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…)
    Name:  advanced_hide_price_hide_price_2.png
Views: 86
Size:  266.9 KB

    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…)
    Name:  advanced_hide_price_call_for_price_button_2.png
Views: 94
Size:  285.8 KB

    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!

  5. #25
    Junior Member IToris's Avatar
    Join Date
    Jan 2017
    Posts
    251
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default

    Hello! Here you can learn more about how to hide prices in Magento: https://www.itoris.com/blog/magento/...n-magento.html

  6. #26
    Junior Member
    Join Date
    Oct 2016
    Posts
    984
    Thanks
    1
    Thanked 4 Times in 4 Posts

    Default

    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.

  7. #27
    Junior Member IToris's Avatar
    Join Date
    Jan 2017
    Posts
    251
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default

    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

  8. #28
    New member
    Join Date
    Feb 2018
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by david View Post
    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 start
    magento\app\design\frontend\default\<your default>\template\catalog\product\price.phtml

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


    just above (line 26) madalin stunt cars 2

    <?php if (!$_product->isGrouped()): ?>

    and close it at the end of the file

    <?php endif; /* if ($this->isCustomerLoggedIn()): */ ?>
    it is correct, I used it for my website
    After a lot of magento projects, the magento speed is the key to make customers/users happy but it take us a lot of time to optimize too.

  9. #29
    Junior Member
    Join Date
    Sep 2018
    Location
    United Kingdom
    Posts
    635
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Default

    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.

  10. #30
    Junior Member
    Join Date
    Sep 2018
    Location
    Oman, Muscat
    Posts
    2,084
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Default

    Magento 2: shroud cost when client not login. Add to dsasmita/magento2-shroud cost not-login advancement by making a record on GitHub.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Opencart Introduction User Guide for Beginners
    By golddev in forum OpenCart
    Replies: 7
    Last Post: 18-06-2019, 07:04 AM
  2. Magento Facebook Login - Magento extension
    By cmsmart in forum Magento Extensions
    Replies: 9
    Last Post: 11-12-2015, 06:07 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •