DecryptWeb Blog

Opensource Web Solutions

Magento

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 […]

Customer Groups in Magento

Hello All, I am writing here a script for displaying a select box of customers group. There exists a Helper file for Customer at app/code/core/Mage/Customer/Helper/Data.php . We need to extend this class for using the default function Create a sample module inside local I have used the Namespace ‘Decryptweb’ for my custom module. For custom […]

Filters in Query in Magento

Hello All, When we are filtering data in Magento, time occurs when we want to fetch result after filters like Not equal, greater than, less than, etc. The addFieldToFilter method’s second parameter is used for this. It supports an alternate syntax where, instead of passing in a string, you pass in a single element Array. […]

Scroll to top