How to exclude specific js files from minify blog banner

In this post, I will be guiding you to excluding JavaScript files from minifying. Sometimes it is required to load third-party JavaScript files in our custom module/theme & .min file is not available. Use Case You are implementing a custom payment method module for the current project: Here you found the payment gateway is providing …

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 & …

blog banner how to enable 2FA google authenticator in magento 2.3.x

In this post, I will be guiding you to enable Two-Factor Authentication (2FA) in Magento 2.3.x version. The advantage of 2FA: Higher security to your Magento 2 Admin Lower down the risk of the data breach. Give your store more values. Let’s do it Introduction A User friendly two factor authentication was invented and patent …

blog banner How can I check which final preference class is used for any particular class

Preferences in Magento 2 are just like how rewrites are in Magento 1. They basically let you substitute one instance of a class for another, in the Magento 2. This is an extremely powerful feature, but also comes along with the same responsibility as of Magento 1. Basically, No two modules can rewrite the same …

banner How to Configure Magento 2 Swatches

Magento 2 is known for its Swatches feature (including the color, pattern, and texture) that enhances it and makes it more appealing. Swatches are an excellent mode of adding more competitive benefits to configurable products. The color, pattern, and texture have strongly proved to be the efficacious tools that make the product offering eye-catching and …

blog banner what is Dependency inversion principle and how it is used in Magento 2

This article will help you to understand the dependency inversion principle in Magento 2. Dependency inversion principle means that the high-level classes are not working directly with the low-level classes, they are using interfaces as an abstract layer. In this case, the instantiation of new low-level objects inside the high-level classes (if needed) cannot be …