Skip to content

magento man

Does area emulation also influence DI / plugins?

We are reading the Magento configurable configuration inside an API call: private function getSpConfig($product) { if ($product->getTypeId() != ‘configurable’) { return null; } /** * @var ConfigurableBlock */ $configurableBlock = $this->_layoutInterface->createBlock(ConfigurableBlock::class); $configurableBlock->setData(‘product’, $product); $spConfig = json_decode($configurableBlock->getJsonConfig(), true); usort($spConfig[‘attributes’], function ($a,… Read More »Does area emulation also influence DI / plugins?

Category products do not load – ‘We can’t find products matching the selection.’ Error keeps coming up at least once a day. Elastic search is running

Magento ver. 2.4.2-p1 Amasty extensions We used to have Elastic Search crash every once in a while but this is no longer happening since we upgraded to the most powerful server. We had instances where couple of times a month,… Read More »Category products do not load – ‘We can’t find products matching the selection.’ Error keeps coming up at least once a day. Elastic search is running

Magento 2 scandipwa theme install in our local server we are getting the node-sass,node-gyp and python2 errors?

we have tried to install existing magento scandipwa theme.we are getting node-sass, node-gyp and phython2 error.please check the attached screenshot User Guide : https://docs.scandipwa.com/getting-started-1/magento-integration we have follows steps as per user guide: first we have create existing magento root create… Read More »Magento 2 scandipwa theme install in our local server we are getting the node-sass,node-gyp and python2 errors?

Configurable product with swatch AND dropdown attributes changes dropdown workflow

Preconditions and environment Magento version 2.4.5 Steps to reproduce Create a configurable product with only dropdown attribute – For example https://magento-802601-3429172.cloudwaysapps.com/only-dropdown-configurable.html Create a configurable product with only swatch attribute – For example https://magento-802601-3429172.cloudwaysapps.com/only-swatch-configurable.html Create a configurable product with Swatch AND… Read More »Configurable product with swatch AND dropdown attributes changes dropdown workflow

Magento 2.4.6 Port must be configured within host parameter (like localhost:3306

I have a Magento 2.4.6 website built using Amazon Lightsail, which is auto-configured. I’m installing MinimogMG theme, but I’m having trouble. Port must be configured within host parameter (like localhost:3306 https://prnt.sc/lYTjNjn9-DGk I followed the steps of the official tutorial. https://docs.bitnami.com/aws/apps/magento/configuration/install-theme/… Read More »Magento 2.4.6 Port must be configured within host parameter (like localhost:3306