Skip to content

magento man

Magento 2 Smile ElasticSuite Layered Navigation: Combine “In Stock” and “Pre Sale” filter to show single section with radio input functionality

I’m working on a Magento 2 project that uses Smile ElasticSuite for layered navigation. I want to customize filter options on the category page with the following behavior: Display a single filter group titled In Stock (filter by in_stock =… Read More »Magento 2 Smile ElasticSuite Layered Navigation: Combine “In Stock” and “Pre Sale” filter to show single section with radio input functionality

Array map null error in Magento 2.4.7 with hyva theme installed

I have Magento 2.4.7 website which have hyva as frontend. I am getting array_map null error in vendor/hyva-themes/magento2-theme-module/src/ViewModel/BlockCache.php:61. Getting error on the line $childBlocks = map([$block->getLayout(), ‘getBlock’], $block->getChildNames());where the $block->getChildNames() getting as null always. This error comes for both frotnend… Read More »Array map null error in Magento 2.4.7 with hyva theme installed

Magento 2 Plugin around Shipping collectRates infinyte loader

When I added __construct whatever I get an infinite loader. public function __construct(ResultFactory $res){ $this->anotherVariable = $res; } my <?php namespace VendorModulePlugin; use MagentoFrameworkAppConfigScopeConfigInterface; class MyShippingPlugin { private $anotherVariable; public function __construct(ScopeConfigInterface $res){ $this->anotherVariable = $res; } public function aroundCollectRates(… Read More »Magento 2 Plugin around Shipping collectRates infinyte loader