Add Steps Before and After Shipping and Payment Review

Customizing checkout page has always been trend to gain more sales. More you ease your customer, more you gain sales on your store. From day to day, the checkout process is improving and merchants are demanding simpler but most effective checkout process. The checkout steps are important part of gaining customer attention to your store. …

Magento2 – How to get Directory of a Module

Here is the code how to load your module directory: $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $directoryReader = $objectManager->create(‘\Magento\Framework\Module\Dir\Reader’); $moduleDirectory = $directoryReader->getModuleDir(”, ‘Knowthemage_Hello’); echo “Directory : “.$moduleDirectory;