skip to Main Content

How to override MagentoCatalogModelLayerFilterList in magento 2.2.3

Override the MagentoCatalogModelLayerFilterList in Magento 2.2.3 using plugin. This error came PHP message: PHP Fatal error: Uncaught TypeError: Argument 2 passed to ####PluginModelLayerFilterList::aroundGetFilters() must implement interface MagentoCatalogModelLayerFilterableAttributeListInterface, instance of Closure given, called in /magento/framework/Interception/Interceptor.php on line 135 and defined in…

VIEW QUESTION

magento 1.9 library guzzlehttp

I have a problem with Magento 1.9 when I attach the guzzlehttp library to a call: $this->client = new GuzzleHttpClient (); return Mage::log($this->client); I am getting: Warning: include(): Failed opening 'GuzzleHttpClient.php' for inclusion (include_path='...') in /../lib/Varien/Autoload.php on line 94. Any…

VIEW QUESTION

Magento 1.9 Fatal Error : Class Helper Data not found

I have create a new extension. It appears a error which means that the helper data class not found. My config files are as follows. appcodelocalETLizenzetcconfig.xml <config> <modules> <ET_Lizenz> <version>1.0.0</version> </ET_Lizenz> </modules> <global> <helpers> <ET_Lizenz> <class>ET_Lizenz_Helper</class> </ET_Lizenz> </helpers> <blocks> <ET_Lizenz>…

VIEW QUESTION

Grunt in magento not compiling files

I have a problem with the local installation (docker) magento. I tried to make some css changes, unfortunately grunt.js does not compile my files. After the "grunt watch" command has been initiated, the console displays "Waiting ..." but does not…

VIEW QUESTION

Magento 2 – getCollection returns only simple products

I'm trying to get all the products. I'm doing this way: $objectManager->get('MagentoCatalogModelProduct') ->getCollection() ->addAttributeToSelect('*'); But only simple products are returned. Getting the NOT RETURNED products by sku works fine: $p = $objectManager->create('MagentoCatalogModelProductRepository')->get($sku); Any idea? Thanks in advance. -- Magento version…

VIEW QUESTION

PHP acess value of array using key of 2D array – Magento

I'm working on a php magento script which have a array variable for store some script urls. array variable $items['js'] var_dump array(1) { [""]=> array(17) { ["prototype/prototype.js"]=> string(22) "prototype/prototype.js" ["varien/form.js"]=> string(14) "varien/form.js" ["mage/translate.js"]=> string(17) "mage/translate.js" ["mage/cookies.js"]=> string(15) "mage/cookies.js" ["wyomind/layer/native.history.js"]=> string(31)…

VIEW QUESTION
Back To Top
Search