Disable ‘Billing Agreements’ and ‘Recurring Profiles’ in Magento

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.

7 thoughts on “Disable ‘Billing Agreements’ and ‘Recurring Profiles’ in Magento

  1. 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)?

Leave a Reply to Decrypt Web Cancel reply

Your email address will not be published. Required fields are marked *

Scroll to top