Follow the steps to fix “invalid Domain for site key” issue in Magento 2 1. Go to recaptcha admin (https://www.google.com/recaptcha/admin) 2. Choose reCAPTCHA Type (reCAPTCHA… Read More →
Enable template-hints with command in Magento 2 php bin/magento dev:template-hints:enable php bin/magento dev:template-hints:disable Remove Cache chmod -R 777 var/ pub/ generated/ php bin/magento cache:clean php… Read More →
In the complex ecosystem of Magento 2, encountering a blank screen or a generic “There has been an error processing your request” message is a… Read More →
Reduce the original product image size to 1000×1000 dimension in Magento 2 Use imagemagick. for f in find . -name “*.jpg” do convert $f -resize… Read More →
What is my magento admin login url
May 13, 2022
Run the following command to see Magento admin login url php bin/magento info:adminuri You can also view the Admin URI in <your Magento install dir>/app/etc/env.php…. Read More →
How to get date of tomorrow in magento2
May 13, 2022
Object Manager Method to get date of tomorrow in magento2 : $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $objDate = $objectManager->create(‘\Magento\Framework\Stdlib\DateTime\DateTime’); $date = $objDate->date(‘Y-m-d’); $nextdate = $objDate->date(‘Y-m-d’, strtotime($date.” +1… Read More →
Magento 2 log : Replacement for Mage::log method
May 13, 2022
Magento 2 log : Replacement for Mage::log method protected $logger; public function __construct(\Psr\Log\LoggerInterface $logger) { $this->logger = $logger; } //Show $this->logger->info($message); $this->logger->debug($message); In magento2… Read More →
Understanding jQuery Integration in Magento 2 Magento 2 has revolutionized eCommerce development by implementing a sophisticated JavaScript framework that leverages jQuery and RequireJS for enhanced… Read More →
Magento 2 jQuery Integration: Step-by-Step Guide to Using jQuery with RequireJS and Widgets
May 12, 2022
jQuery remains a cornerstone for enhancing frontend interactivity in eCommerce platforms, and its seamless integration within Magento 2 empowers developers to build dynamic user experiences… Read More →
Understanding the Magento 2 SessionHandler::read() Warning Error The SessionHandler::read() warning error is one of the most frequently encountered issues when developers migrate, install, or configure… Read More →