How to Add the Delivery Date Field on a Checkout Page in Magento

December 13, 2016 / Posted in Magento, Tips&Tricks by Artem Demidov
How to add the Delivery Date field on a checkout page in Magento

To add a new field on a checkout page you need to use the Dependency Injection mechanism. For that let’s add the file di.xml to the frontend configuration of the module. Here is the path to the file:


The content of the file di.xml:

Next, we need to add the implementation of LayoutProcessorPlugin into the module by adding the following file:


Here is how the final implementation looks like:

Post a new comment