This article shows how you can increase the admin login session lifetime in Magento 2.ProblemWhen you are a developer, it is frustrating to login to admin panel every 15 minutes or 30 minutes. It would be easy to set the admin login session lifetime for a longer period of time so that we don’t have to login continuously.CauseBy default, the Magento...
Showing posts with label Magento. Show all posts
Showing posts with label Magento. Show all posts
30 March, 2022
How to fix the 'too many redirects' error in Magento 2
Programing Coderfunda
March 30, 2022
Magento, Magento 2
No comments
This article presents a technique to the redirect loop error while logging in to the Magento admin panel.Did installation an existing Magento keep.Went to the Magento admin login web pageEntered admin username and passwordGot the ERR_TOO_MANY_REDIRECTS mistakesThe website has a redirect loopERR_TOO_MANY_REDIRECTSCauseThe problem is with the Cookie...
Magento 2 Recent Order not showing in Sales Order Grid
Programing Coderfunda
March 30, 2022
Magento, Magento 2
No comments
You vicinity an order from frontend and anticipate it to be displayed inside the Sales -> Orders grid in the Magento backend. But, you don’t see your latest order inside the sales order grid.xCauseThis is because Magento uses Scheduled Grid Updates. The order related grids (order, invoice, shipment, credit memo) are updated via scheduled cron...
Magento 2 Media Gallery doesn't show any images
Programing Coderfunda
March 30, 2022
Magento, Magento 2
No comments
The new/more suitable media gallery changed into introduced with the release of Adobe Commerce and Magento Open Source 2.Four.Enable New Media GallerySTORES > Settings > Configuration > ADVANCED > System > Media GallerySetEnable Old Media Gallery = NoThis will then enable the new media gallery.Access New Media galleryCONTENT > Media...
How to check if customer is logged in or not
Programing Coderfunda
March 30, 2022
Magento, Magento 2
No comments
This article indicates one of a kind ways to test if a consumer is logged in or no longer in Magento 2.1) Using \Magento\Customer\Model\Session classThe main issue with this way is that it will not work when page cache is enabled.When page cache is enabled and you use this code, it will not be able to get the logged-in customer ID or...
Remove Block Programmatically in Magento2
Programing Coderfunda
March 30, 2022
Magento, Magento 2
No comments
This article indicates how you may eliminate layout blocks through the PHP Program instead of working within the format.Xml report in Magento 2.I will be using event observer.app/code/Company/Module/etc/frontend/events.xml<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd">
...