New answers tagged

0

can you check is your cache disable? Because it seems that the issue comes when caching off In my case. If I enable cache, the mini cart works as it should. Cool. For Magento upgrade follow below URL: https://wp.me/p4FAWA-6X


1

In your observer, you can get the child product data using this code. $info = $observer->getInfo(); $product = $observer->getProduct(); if ($product->getTypeId() == "configurable") { $configClass = $product->getTypeInstance(); $childProduct = $configClass->getProductByAttributes($info['super_attribute'], $...


0

In event 'checkout_cart_product_add_before' arguments are as below as $product and $request. You can get the swatch value from $request variable. Mage::dispatchEvent('checkout_cart_product_add_before', array( 'product' => $product, 'request' => $request ));


0

The only thing that worked was manually clearing the contents of pub/static/ but make sure that you don't delete the .htaccess file inside pub/static/ folder Some of the things that I tried and didn't work Adding a mapping in requirejs-config.js (Both in the code and design folders) "map": { "*": { 'Magento_Checkout/template/...


Top 50 recent answers are included