Skip to content

Grid is not loading showing just the spinner without errors in logs or console

I’m trying to follow the guide https://developer.adobe.com/commerce/php/development/components/add-admin-grid/ to add a custom admin grid however I’m stuck in a situation where there’s no error and the spinner keeps loading forever without loading the grid. Log files system.log, debug.log, exception.log are empty… Read More »Grid is not loading showing just the spinner without errors in logs or console

Hide DIV if another DIV is active or visible with css/js

Trying to hide DIV if another DIV is active or visible with css/js. Basically if an item is out of stock I would like to hide my custom div. <script type=”text/javascript”> require([‘jquery’], function(jquery) { jquery(document).ready(function(){ if(document.getElementByClass(“stock.unavailable”).style.visibility == “visible”) { document.getElementByClass(“left-stock”).style.visibility… Read More »Hide DIV if another DIV is active or visible with css/js

Magento 2.4 How to implement BfCache

I want to implement BFCache into Magento but did not find the proper resources for implementing it using a custom module. BFCache: https://web.dev/articles/bfcache Can anyone guide me on how to do it?