After Installing Magento 2, you can download the sample data like products, categories, customers, orders etc for testing purposes. Magento provides a repository for ready-to-use data. You can either clone that repository or install the sample data by command line. Here we discuss how to install sample data using the command line.
Continue reading “Magento 2 Install Sample Data”Install Magento 2 Using Composer
Before Magento 2.3.x, there is a way to install Magento 2 from the browser but with the latest Magento 2 version it’s not possible, you must have to use the command line to install Magento 2.
Continue reading “Install Magento 2 Using Composer”Download Magento 2 Using Composer
If you want to download Magento 2.4.5 then you can not download it in the zip format. Magento stops providing the zip of the Magento version. You must have to download Magento 2 by command line.
Continue reading “Download Magento 2 Using Composer”Download Media Folder from Magento Cloud to Local
After you cloned and set up the Magento commerce cloud project to your local system, you cannot see the media folder. You have to run a separate command to download the media folder and other assets of your cloud project.
Continue reading “Download Media Folder from Magento Cloud to Local”Magento 2 Admin Activity log
Adobe commerce provides a feature to check each activity of admin users. Magento provides a full log of what data changed by admin and even which page admin views.
NOTE: This feature is only supported by the Adobe Commerce version (previously known as the enterprise version)
Uninstall Modules in Magento 2
We are going to discuss here how to uninstall or completely removed the Magento 2 extension using the command line. Please note that this uninstall command only works if you have installed the module by composer command and the module entry is there in the composer.json file of the docroot. If the module is not installed by the composer and you used a zip file to install the module then you have to remove the module files from app/code/YOUR_MODULE instead of following these steps.
Continue reading “Uninstall Modules in Magento 2”Magento 2 Get Product Custom Attribute in Cart Page
Sometime you need to fetch some product attributes in the cart page which are not by default loaded in the Magento 2 quote data.
Continue reading “Magento 2 Get Product Custom Attribute in Cart Page”Magento 2 system.xml Field Dependency on Multiple Values
When creating a system configuration field and that fields depend on one another, you have to add the dependency to the field of system.com. Magento provides a way to add dependency using the <depends> tag.
Continue reading “Magento 2 system.xml Field Dependency on Multiple Values”Magento 2 Get Raw Request Data in Controller
If you want to get all the data which are sent outside Magento or from POSTMAN to the Magento controller and the format of the body is Raw then you can not get data using getParams() in the Magento 2
Continue reading “Magento 2 Get Raw Request Data in Controller”Magento 2 Session size of 481712 exceeded allowed session max size of 256000
You may see the warning message session size exceeded the allowed session max size after you upgraded the Magento version to 2.4.3. Due to this issue, you may face some of the admin features stop working after upgrading your website to the 2.4.3
Continue reading “Magento 2 Session size of 481712 exceeded allowed session max size of 256000”