Is it possible to hide certain top links depending on the customer group?
As we have anew feature which we have added a link to in the top link but it is only available to certain customers.
We have declared the link an xml file, and shows up perfectly i just now need to know if it is possible to hide the link if a customer is not logged in or is logged in but is not in a certain group
<reference name="top.links">
<block type="advancedquickorder/index" name="add.advancedquickorder.link">
<action method="addAdvancedquickorderLink" ifconfig="advancedquickorder/general/active"><param>top</param></action>
</block>
</reference>
Best Answer
Add the below codes, In config.xml
In observer.php
You can remove any of the top links with the above code