I need to show the different options according to group of the customer in MY ACCOUNT section.
For example, I need to show only My profile, Account Information, social media accounts link in the MY ACCOUNT section of the customer dashboard. Some of links will be custom controller actions so how I can show these link and manage the session so that all this happened only when the customer is login.
Best Answer
Step 1: Go To ( YourTemplate/customer/account/navigation.phtml )
Step 2: Replace This Line:
<?php $_count = count($_links); ?>
if you want to do this in module then override
for checking the session
checing the session of user
getting the customer group