blog banner how to call helper method in phtml template file

A Helper is a class that provides functionalities for various features throughout the Magento website. Available for use anywhere on the website, Magento 2 Helper can be called in controllers, views, models and even in other helpers too! Here, I will show you how to call a helper class methods in the template files. There’s …

blog banner Magento 2 Move telephone field in Checkout

In this post, I will be guiding you on how to move one of the shipping address fields in the checkout Let’s do it In your module root directory You will have to create/update the di.xml file in frontend directory of your module: Then create a LayoutProcessor class using below contents Path for the class: …

blog banner Magento 2 Easiest way to load your custom JS Component

In this post, I will be guiding you on creating a JavaScript Component and load it on any page you need. Let’s do it Understanding the JS Components in Magento 2 KnockoutJS component – ‘ko’ Checkout page is full of knockout js bindings jQueryUI component – ‘jquery/ui’ Add to cart on the product page & …

banner How to install Magento SUPEE-11086 patch

In this post, I will be guiding you on how to install Magento SUPEE 11086 patch. The security patch SUPEE-11086 contains multiple security enhancements that help close remote code execution (RCE), cross-site scripting (XSS), cross-site request forgery (CSRF) and other vulnerabilities. You can find more details from Magento Release notes for SUPEE 11086. Follow below …

blog banner Theme Development Best Practices

Magento theme structure Storefront custom themes are located at the app/design/frontend/<Vendor>/ directory. Magento built-in themes are located at the vendor/magento/theme-frontend-<theme_code> directory when magento is installed using composer. The structure of a Magento theme directory theme.xml file Create theme.xml file to initialize the theme. It contains theme title, the preview image of theme, parent theme from …

How to Add a Custom Payment Method to Magento 2 Checkout

In this article, we will see how to implement a payment method rendering in Magento 2 checkout. Step 1: Create the .js component file It is important to note that you will be implementing the payment method renderer as a UI component. You should not overwrite the default Magento code, just add your customizations code …