Is there an easy way (ex: using local.xml) to completely disable recurring profiles and billing agreements in Magento (v 1.7+)?
Is there an easy way (ex: using local.xml) to completely disable recurring profiles and
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The blocks are created and the links are added in:
app/design/frontend/base/default/layout/sales/billing_agreement.xmlapp/design/frontend/base/default/layout/sales/recurring_profile.xmlNormally i would recommend to remove the links afterwards, but the
Mage_Customer_Block_Account_Navigationdoesn’t have a removeLink method, so I think the only way is to copy the two xml files in your theme and remove the content. If you remove only the addLink node, the user has no link in the navigation in his login-area.There are lots of extension which do this.
I implement my own one:
https://github.com/ikonoshirt/ExtendedAccountNavigation