Magento2.4 run from root
We will discuss how to execute the Magento2.4 run from root.Magent2.4.x by default does not load from the root of Magento. 404 Not Found after fresh Magento 2.4 installation It seems now Magento will only load from pub folder. So the best solution for this is to create a virtual host and point it to […]
Magento 2 send custom email programmatically
Hello reader, In this article, we are going to send a custom email template, after creating a form, on submission of that form we will send form information by sending a custom email. This email will use custom email template. Email is a way to communicate with customers and suppliers or vice-versa The below files […]
Magento 2 command list
Hello reader today we share list of the some usfull magento 2 command list. You will find the list of important commands Magento 2. Connect the SSH and go to magento root directory to run/execute the commands MAGENTO 2 USEFUL COMMANDS LIST Elasticsearch entry into Database bin/magento config:set catalog/search/engine elasticsearch7 bin/magento config:set catalog/search/elasticsearch7_server_hostname 191.161.1.11 bin/magento […]
Create enquiry form in Magento 2
Today I am going to explain How to Create Custom enquire Form in Magento 2. Forms are a great way to gather customer information and insert into database or send email to the admin user as per the requirement. With the help of the below code, you can Create Custom Form in Magento 2 Frontend. […]
How to add custom select box in window.checkoutConfig on Checkout
Sometimes you need a custom variable add-in window.checkoutConfig dynamically and display on the checkout page according to requirement, follow steps to add custom select box in window.checkoutConfig on Checkout. Step 1 : Create di.xml file and add below code File : Vendor/Module/etc/frontend/di.xml <?xml version=”1.0″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:ObjectManager/etc/config.xsd”> <type name=”Magento\Checkout\Model\DefaultConfigProvider”> <plugin name=”CustomCheckoutModelDefaultConfigProvider” type=”Vendor\Module\Plugin\Checkout\Model\DefaultConfigProvider” sortOrder=”100″/> </type> </config> […]
Request validation failed for action in Magento 2
Today in this post we will found a solution for Request validation failed for action issue in Magento. Sometime custom controller redirect to dashbord in magento admin panel There are below method to solve this kind of issue. Sulution 1. Add below in your claass use Magento\Framework\App\CsrfAwareActionInterface; use Magento\Framework\App\RequestInterface; use Magento\Framework\App\Request\InvalidRequestException; and implements CsrfAwareActionInterface class […]
How to get database detail in Magento 2
Today, I’m sharing to you the “How to edit Magento 2 Database Configuration file” tutorial. When installing or changing hosting for your Magento store, editing database configuration file is really important Go to your store core folder and open the env.php file under the app/etc folder. Find the next code, where database_name is actual database […]
Magento 2 speed optimization
Magento 2 speed optimization, Magento’s low performance is the lack of server/hosting resources. The hosting solution that powers the Magento store is the key to the success of the Magento store. Magento speed also affected third-party modules and theme customization. As a normal Magento page, it takes more than 3s to load a page There […]
Enable or Disable minify CSS or JS in Magento
In this blog, we will discuss about how we can enable or disable minify CSS/JS in Magento 2. Follow below steps for enable or disable- From admin panel enable/disable Minify CSS or JS- Stores > Configuration > Advanced > Developer > CSS SettingsStores > Configuration > Advanced > Developer > JavaScript Settings In MySQL, use […]
Custom controller in Magento admin panel
Custom controller in Magento admin panel, Magento controller has only one execute method that is known as front controller.For every action, we have one controller class with execute method. Execute method is called when the router matches the controller action class, and it’s responsible for returning a response to the front controller. Today we clear […]
UI Components Grid and Layout Grid in Magento
This blog cover the difference between UI components grid and layout grid in Magento. Magento introduces a new way to create a grid in the admin area called UI grid. It is flexible and easy to extend. There are key differences listed below- UI Components Grid Advantages-1. It is mostly configuration. So you write less […]
Grouped Product V/S Bundle Product in Magento
In this blog, we will discuss the difference between Grouped Product V/S Bundle Product in Magento. Below is the detailed description: Grouped Product: Grouped Product is a set of simple products, they display on product detail page. Customer can change only quantity of product when adding product into cart. For example, if you want buy […]