Skip to content

magento2.3

Auto Added by WPeMatico

Disable MSI extensions on Magento Enterprise 2.4.5-p1

I’m trying to disable MSI extensions on Magento enterprise version 2.4.5-p1. I’m using below command for this: php bin/magento module:disable -f Magento_Inventory Magento_InventoryAdminUi Magento_InventoryApi Magento_InventoryBundleProduct Magento_InventoryBundleProductAdminUi Magento_InventoryCatalog Magento_InventorySales Magento_InventoryCatalogAdminUi Magento_InventoryCatalogApi Magento_InventoryCatalogSearch Magento_InventoryConfigurableProduct Magento_InventoryConfigurableProductAdminUi Magento_InventoryConfigurableProductIndexer Magento_InventoryConfiguration Magento_InventoryConfigurationApi Magento_InventoryGroupedProduct Magento_InventoryGroupedProductAdminUi Magento_InventoryGroupedProductIndexer Magento_InventoryImportExport… Read More »Disable MSI extensions on Magento Enterprise 2.4.5-p1

Could not find a matching version of package

I have uploaded my magento 2 module to GitHub, and published my private module to https://packagist.com/. Now module published successfully as below. And my composer as below { “name”: “vlcsolutions/module-connector”, “description”: “Business Central Express Connect”, “require”: { “php”: “~7.0.0|~7.1.0|~7.2.0|~7.3.0|~7.4.0″ },”minimum-stability”:… Read More »Could not find a matching version of package

getting Js error in google analytics code

We are using google analytics in our website but getting below error in console. Error: Uncaught SyntaxError: Unexpected token ‘:’ Script: <script type=”text/x-magento-init”> { “*”: { “Magento_GoogleAnalytics/js/google-analytics”: { “isCookieRestrictionModeEnabled”: <?= (int)$block->isCookieRestrictionModeEnabled() ?>, “currentWebsite”: <?= (int)$block->getCurrentWebsiteId() ?>, “cookieName”: “<?= /* @escapeNotVerified… Read More »getting Js error in google analytics code

Magento 2 get custom attribute and show on phtml file

I have created a custom product attribute using a module. $eavSetup->addAttribute( MagentoCatalogModelProduct::ENTITY, ‘special_feature’, [ ‘type’ => ‘text’, ‘label’ => ‘Special Feature’, ‘input’ => ‘textarea’, ‘required’ => false, ‘sort_order’ => 12, ‘global’ => MagentoEavModelEntityAttributeScopedAttributeInterface::SCOPE_STORE, ‘group’ => ‘Special Feature’, ‘backend’ => ‘MagentoEavModelEntityAttributeBackendArrayBackend’,… Read More »Magento 2 get custom attribute and show on phtml file