From Magento 2.3 and the higher version, Magento introduced the declarative schema for install and upgrade database tables and fields.
Continue reading “Magento 2 Create db_schema_whitelist.json File”Magento 2 Change Sequence of Credit Card Type
One of our clients asked to update the sort order of credit card type of the Magento 2 custom payment module. The reason is that they want to display a specific credit card logo in the first position, like displaying the VISA logo. If you are looking to do the same, then this blog post by Dhairvi Solutions will help you.
Continue reading “Magento 2 Change Sequence of Credit Card Type”Magento 2 CSS and JS not loading in the Localhost of Windows System
When you install and set up Magento 2 eCommerce website in the windows system then you may see that all the CSS and JS are missing.
Continue reading “Magento 2 CSS and JS not loading in the Localhost of Windows System”Magento 2 Frontend and Admin not Loading Properly on Windows System
When you install Magento 2 in Localhost in the windows system, you may face the front-end and the admin is loading without any data.
Continue reading “Magento 2 Frontend and Admin not Loading Properly on Windows System”Magento 2 Disable Two Factor Authentication Module
From Magento 2.4.x, the 2-factor authentication for the admin is by default enabled. In some situations, if you are not able to set up 2 factor authentication for your admin user then you can not log in to the Magento admin. These situations such as you are setting up Magento 2.4.x in the localhost, or you are creating a new admin user in any server in which emails are not sent, or you do not have access to the email account.
Continue reading “Magento 2 Disable Two Factor Authentication Module”Magento 2 Move Billing Address at the Bottom of Payment Method On Checkout
In your Magento 2 website, if you wanted to move the billing address to the bottom of the checkout page instead of displaying it under each payment method section then this blog will help you to do this.
Continue reading “Magento 2 Move Billing Address at the Bottom of Payment Method On Checkout”Magento 2 Your Current Search Engine ‘MYSQL’ is Not Supported
You may face error like, your current search engine ‘MYSQL’ is not supported in Magento 2 during running any CMD commands, or when you are trying to upgrade Magento to 2.4.x from 2.3.x or lower version.
Continue reading “Magento 2 Your Current Search Engine ‘MYSQL’ is Not Supported”Magento 2 Disable Input Field of system.xml file
While working on a Magento ecommerce website, you may encounter a situation where you need to disable certain input fields in the system configuration within the Magento 2 admin panel.
This is important to prevent admin users from altering the values of these fields, especially when the values are meant to remain static. Accidental changes to these values can impact the website’s logic, so it’s best to keep these fields read-only in the Magento admin.
Continue reading “Magento 2 Disable Input Field of system.xml file”How to Call Custom Variables in phtml File in Magento 2
Custom variables are a powerful feature of Magento 2. Each Magento developer is aware of this, but only a few are taking advantage of it. Using Magento 2 Custom Variables, you can display any text and/or HTML from the admin to the front end. Using this website, the admin or merchant can easily update the content of the website without any modification in the code and especially without being dependent on the developer.
Continue reading “How to Call Custom Variables in phtml File in Magento 2”Magento 2 Get Module Directory Path Programmatically
As per my experience, many times we have to get the location of the module or module directory path while creating the custom module and especially it’s either shipping or payment module. E.g when we wanted to know the exact path of certificate file added to our custom module’s etc folder or .wsdl file of third party module added in our modules.
Continue reading “Magento 2 Get Module Directory Path Programmatically”
