I’m using magento v2.4.1 and I’m extending MagentoCatalogBlockProductListProduct in my custom module block to load a custom product collection like this: protected function _getProductCollection() { if ($this->_productCollection === null) { // MagentoCatalogModelResourceModelProductCollectionFactory $productCollectionFactory, $collection = $this->_productCollectionFactory->create()->addAttributeToSelect('*'); $collection->addAttributeToFilter('price',['gt'=>0]); $collection->setFlag('has_stock_status_filter', true); $categoryId = $this->getCategoryId(); $categoryProductTable = $collection->getResource()->getTable('catalog_category_product'); $collection->getSelect()->where('e.entity_id IN (SELECT product_id FROM […]
Rubin
I have installed the Varnish and configured it to my local instance. And I have created the logs before Varnish and after Varnish as below. And the front-end response headers. My question is when I saw in the Final Verification from Magento docs the important headers are below as per […]
We have to send multiple emails through Magento 2 messaging queue and for emails, we are using SendGrid SMTP, and the module used within Magento to integrate this is of Mageplaza. When we start the queue, the first few emails send fine without any issue but after a few we […]
I have created two stores english and german and created static blocks with different contents based on the store in admin.Block Id(test) for both stores are the same but both blocks assigned to respective stores…I need to call static block of english in phtml file. How can I do that? […]
The most recent security update (KB5094126) failed for me, telling me it was an “Install error 0x80074101”. My machine: Edition: Windows 11 Home Version: 25H2 Installed on: 2/1/2025 OS build: 26200.8457 Experience: Windows Feature Experience Pack 1000.26100.304.0 I googled the error code and got some advice from AI, and followed […]
My computer (tower) has 3 audio outputs : a front jack, a back jack, and bluetooth. The back jack and bluetooth work fine, but when I use the front jack (regardless of the headset and jack cord), I have the same kind of audio quality you have on calls : […]
Can I filter email using regular expressions in Gmail? Some sites say yes but practically it does not work for me. I found an old post saying it is possible with Google Apps Script.
what are these symbols that appear in lazyvim when i’m in index.html type ! and then expand the emmet and delete everything these symbols appear what is this this is annoying me in lazyvim for so long WUNDOWS i dont know what’s going on maybe because i’m a noob another […]
Can the music album picture showing in Windows Media Player be changed to show correct artist? I have tried right clicking the picture but then it displays a 404 error.