Custom CLI commands Magento 2

Magento 2 enables your component to add commands to the default CLI Magento has one command-line interface that performs both installation and configuration tasks: /bin/magento. I am explaining here a way to add custom commands for your module. 1) Create a Command class, I have created a custom class at app/code/DW/Interface/Console/OrderCron.php. 2) Declare your Command […]

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

Scroll to top