Remove Left navigation fields


Chiranjeevi

app\design\frontend\base\default\template\customer\account\navigation.phtml

find  <?php $_index = 1; ?>

Right below it add this:

<?php $_count = count($_links); /* Add or Remove Account Left Navigation Links Here -*/

unset($_links[‘tags’]); /* My Tags */

unset($_links[‘invitations’]); /* My Invitations */

unset($_links[‘enterprise_customerbalance’]); /* Store Credit */

unset($_links[‘OAuth Customer Tokens’]); /* My Applications */

unset($_links[‘enterprise_reward’]); /* Reward Points */

unset($_links[‘giftregistry’]); /* Gift Registry */

unset($_links[‘downloadable_products’]); /* My Downloadable Products */

unset($_links[‘recurring_profiles’]); /* Recurring Profiles */

unset($_links[‘billing_agreements’]); /* Billing Agreements */

unset($_links[‘enterprise_giftcardaccount’]); /* Gift Card Link */

?>

If u want to use session username in any where like  instead of my account use this code.

__(‘My Account’); ?>

__(Mage::getSingleton(‘customer/session’)->getCustomer()->getName()); ?>–>

View original post

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s