DecryptWeb Blog

Opensource Web Solutions

Magento

Tax block in cart page of Magento 2

I am explaining here a way to remove the estimated tax block seen in the summary section of cart page Create a file checkout_cart_index.xml at the location app/design/frontend/Dw/green/Magento_Checkout/layout/ (Dw/green is a custom theme) Copy the content as seen below in the layout file Also in case you want to remove the heading as well than […]

cURL request in Magento

cURL request in Magento Most of the time there is a need to call 3rd party APIs from Magento. We use cURL functions for the same, now here is an interesting part, Magento has wrapper functions for the same in its own library. This make it easy for calling the 3rd party API url’s. Code […]

OrderProfit Magento Extension

Hello All, I have developed an extension and I am posting here for free. An extension that will add a ‘Profit’ column in Orders grid showing profit per order. Configuration setting are provided for disabling the column and editing the column header. Compatibility : Tested with Magento Community Edition 1.5, 1.6, 1.6.1, 1.6.2.0, 1.7 and […]

Date Time Input Magento

Hello, There are times when backend developer needs to create a form in admin end and we need to have an input box which accepts data and time. In this post I have explained the code for doing this. Open your form file, will be in app\code\local\[NameSpace]\[Module]\Block\Adminhtml\[BlockName]\Edit\Tab\Form.php There is a function _prepareForm() inside it. Add […]

Scroll to top