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

  • Can someone help on this??
    – Priya A
    May 27, 2017 at 6:34

1 Answer 1

  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()));      

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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