Learn Magento 2 Adobe Commerce
Magento 2 Custom Development, Magento 2 tutorials, Adobe Commerce Tutorials, Magento for beginners, Adobe, Adobe Commerce
Magento 2 – How to remove Two-Factor Authorization in admin login?
Error:You need to configure Two-Factor Authorization in order to proceed to your store’s admin areaAn E-mail was sent to you with further instructions Solution: Now flush the cache and you are in!!
Magento 2 – How to remove Two-Factor Authorization in admin login? Read More »
how to set a new password for the existing customer using MySql query?
UPDATE customer_entity SET password_hash = CONCAT(SHA2(‘cryptkeyAdmin@#$123’, 256), ‘:cryptkey:1’) WHERE entity_id = 1; You can find the crypt key in the below file: Magento_Root/app/etc/env.php ‘crypt’ => [ ‘key’ => ’82df4fe20ecf9af24614a2f6b76ac7b6′]
how to set a new password for the existing customer using MySql query? Read More »
How to Install and Configure PHP 8 (for magento)?
Add a Linux repository that includes all PHP versions: $ sudo apt install software-properties-common$ sudo add-apt-repository ppa:ondrej/php Install PHP in Apache$ sudo apt update$ sudo apt install php8.0 libapache2-mod-php8.0$ sudo systemctl restart apache2 Installing PHP extensions:$ sudo apt install php8.0-{Extension-Name} Example$ sudo apt install php8.0-xml php8.0-intl For Magento install below PHP extensions: ext-bcmath ext-ctype ext-curl
How to Install and Configure PHP 8 (for magento)? Read More »
Magento 2 : How to run custom script on magento root?
Create a file on magento root and use object manager for using dependencies, In below example you can see how we get product collection of a particular category using root script. After creating the file run the script on browser or using cli NOTE : This is not a best practice to build any feature
Magento 2 : How to run custom script on magento root? Read More »
Magento 2 : How to Delete test data of Orders, Customer, Products and categories using MySql query?
Delete all the order and quotes Delete all products data Delete all categories Delete all customers Delete All reviews
Magento 2 – How to add custom logs in Magento 2 for debugging?
Use below code anywhere is Magento (Only for debugging) NOTE: The above code is only for debugging purpose only, you should remove once you done debugging.
Magento 2 – How to add custom logs in Magento 2 for debugging? Read More »
Magento 2 – How to get Current Cart Items?
Use the session to get the current cart quote items NOTE : Magento\Checkout\Model\Cart is deprecated.
Magento 2 – Speed Optmization tips, increase your magento website speed
21 Tips to improve Magento 2 Application performance Production Mode– Run below command in terminal to get current application mode:$ bin/magento deploy:mode:show– Now set the application mode to production:$ bin/magento deploy:mode:set productionIt will take a while to switch the modeIf you want to skip the compilation for any reason use below command :$ bin/magento deploy:mode:set production -s Minify
Magento 2 – Speed Optmization tips, increase your magento website speed Read More »