0

I am working on magento1 project. I want a solution to below mentioned problem.

When we add product to the basket, the mini cart should automatically open up and then close after few seconds(5 seconds).

How to do that?

please help me.

5
  • What extension are you using? Is it rwd's default or any other extension? Are you using any ajaxcart module? May 11 '18 at 7:27
  • I am using ajax cart
    – suresh
    May 11 '18 at 8:06
  • You need to find out the ajax call and on success you need to open the mincart and use setTimeout function to autohide the minicart after few seconds. May 11 '18 at 8:18
  • yes I did that.But cart is not opened.when click "add to basket button" page is refreshed and items are added into mini cart.But not opened
    – suresh
    May 11 '18 at 9:42
  • @suresh you can't use ajax because if you are using the ajax cart call. try to use session.
    – Lasantha
    May 11 '18 at 9:46

Your Answer

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

Browse other questions tagged or ask your own question.