0

I need to hide minicart popup when user clicks on Add to Cart button but when user clicks on cart icon, minicart popup need to be displayed.

is there any way to do this in Magento 1.9.2.2???

  • Can someone help on this?? – Priya A May 27 '17 at 6:34
0
  1. Create Folders as this path: app/code/local/Mage/Checkout/controllers
  2. Copy file CartController.php from app/code/core/Mage/Checkout/controllers to app/code/local/Mage/Checkout/controllers
  3. Go to line 198, function addAction() and comment this code:
//$message = $this->__('%s was added to your shopping cart.', Mage::helper('core')->htmlEscape($product->getName()));      
//$this->_getSession()->addSuccess($message);

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.