I have an javascript function to display div block once i added any item to cart. How can i achieve this?
-
what kind of functionality you want in that javascript function.Ashish Madankar M2 Professiona– Ashish Madankar M2 Professiona2016-05-25 11:09:47 +00:00Commented May 25, 2016 at 11:09
-
Once add to cart button clicked, i need to display cart modal windowDhanasekaran– Dhanasekaran2016-05-26 16:14:13 +00:00Commented May 26, 2016 at 16:14
-
after completing add action your page moving to shopping cart page or stay on the same page like ajax? from both place listing and details page?Ashish Madankar M2 Professiona– Ashish Madankar M2 Professiona2016-05-27 13:25:06 +00:00Commented May 27, 2016 at 13:25
-
staying on the same page. added screenshot for referenceDhanasekaran– Dhanasekaran2016-05-27 15:38:38 +00:00Commented May 27, 2016 at 15:38
1 Answer
For this you can refer http://excellencemagentoblog.com/blog/2011/10/04/magento-add-product-to-cart-ajax/ this url or some of the free extension are also available for this like
1) https://www.magentocommerce.com/magento-connect/ajax-cart-popup.html
2) https://www.magentocommerce.com/magento-connect/ajax-add-to-cart-4.html
3) https://www.magentocommerce.com/magento-connect/ajax-mini-cart-ajax-cart.html
4) https://www.magentocommerce.com/magento-connect/ajax-filter-and-cart-1.html
Hope this will help you.
