Skip to content

magento man

Magento 2 Map APIs Issue

I have deleted Array.from=$A from the legacy-build.min.js, google maps work Agien but other issue is dived, how can I solve this issue? can any one help please?

Magento 2 js library(Magento_Customer/js/customer-data) how to get custom product attributes in js

I’ve a little problem with an override of google tag manager in Magento 2 enterprise. google-analytics-universals.js have some function that trigger the events: addToCart, removeFromCart. To get the products details in addtocart function google tag manager(google-analytics-universals.js) use: ‘Magento_Customer/js/customer-data’ with the… Read More »Magento 2 js library(Magento_Customer/js/customer-data) how to get custom product attributes in js

Magento 2 How to disable module using xml file?

I am facing issue to create module. I created one module and I given apply to system admin to enable disable. So, Right now I am doing module hide/show using below code. $objectManager = MagentoFrameworkAppObjectManager::getInstance(); $module_enable = $objectManager->get(‘MagentoFrameworkAppConfigScopeConfigInterface’)->getValue(‘magefilter/magefilter/enable’); if(isset($module_enable) &&… Read More »Magento 2 How to disable module using xml file?