Try the Demo

Magento Forum

   
Access as per customer type
 
helpinghand2u
Jr. Member
 
Total Posts:  5
Joined:  2013-01-23
 

Hello,

Can magento provide functionality to have different access for different type of users?Like on my product page,some support documents are available for only registered users and guest user can access few documents.

 
Magento Community Magento Community
Magento Community
Magento Community
 
redstage
Sr. Member
 
Avatar
Total Posts:  168
Joined:  2009-12-04
Hoboken, NJ
 

Hi there!

Here’s an idea:

You can use this code to hide certain information on any page for guest customers:

<?php 

 
if($this->helper('customer')->isLoggedIn()){ ?>
     
LOGGED IN CONTENT
          
<?php } 
else  { ?>
     
GUEST ONLY CONTENT

 <?php }

?>

I hope that helps!

 Signature 

For stable and cutting edge Magento extensions, check out the Redstage Extensions Store!

Having done work on over 200 Magento sites, Redstage is the most advanced and experienced agency in the industry.  Interested in working with us?  Check us out

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top