Hello All ,
From the new functionalities introduced from Magento 1.4.1.0 , two are ‘Billing Agreements’ and ‘Recurring Profiles’
Sad thing is that this cannot be disabled from admin completly.
For hiding the links from the navigation in ‘My Account’ section of Customer, you can copy billing_agreement.xml and recurring_profile.xml from /app/design/frontend/base/default/layout/sales/ to /app/design/frontend/default/yourtheme/layout/sales/.
After copying the files to their new location you can edit them. Find the following code in billing_agreement.xml :
<customer_account> <reference name="customer_account_navigation" > <action method="addLink" translate="label"><name>billing_agreements</name><path>sales/billing_agreement/</path><label>Billing Agreements</label></action> </reference> </customer_account>
and change it to
<customer_account> <reference name="customer_account_navigation" > <!--<action method="addLink" translate="label"><name>billing_agreements</name><path>sales/billing_agreement/</path><label>Billing Agreements</label></action>--> </reference> </customer_account>
Then find the following code in recurring_profile.xml :
<customer_account> <reference name="customer_account_navigation" > <action method="addLink" translate="label"><name>recurring_profiles</name><path>sales/recurring_profile/</path><label>Recurring Profiles</label></action> </reference> </customer_account>
and change it to
<customer_account> <reference name="customer_account_navigation" > <!--<action method="addLink" translate="label"><name>recurring_profiles</name><path>sales/recurring_profile/</path><label>Recurring Profiles</label></action>--> </reference> </customer_account>
Please Note: This will remove only the links from Navigation not disable the functionality.
Hope this helps.
In order to remove any links like Top Links, Footer Links, My Account Links etc via admin interface, I would recommend the following free extension which just works out of the box:
http://www.magentocommerce.com/magento-connect/frontend-links-manager.html
Happy E-Commerce!
I think this extension will not remove the Billing Agreements
Any thoughts how I remove the ‘Billing Agreements’ and ‘Recurring Profiles’ junk from the backend – Admin section (adminHTML). Most notably from the create/edit customer section (Tabs)?
Can you please elaborate it, screenshot might be helpful in understanding
Thanks..!!
Thanks!
Great post!
Thnxs.
Worked perfect for me!