Hardik Gajjar

Ajax Add To Cart

  • Popularity Score 4451 Popularity Score

    Popularity ScoreReferrals to Site/Downloads

    0 0 1+ 1+ 250+ 250+ 1000+ 1000+ 10000+ 10000+

Provides ajax add to cart from product list, detail, and cart page with all necessary blocks update instantly.
Compatible with:
This extension is currently unavailable on Magento Connect. Please contact the developer.

You will be re-directed to the developer's website to complete your purchase.

You must be registered and logged in to get extension key.
In order to get this extension, you must be logged in to the Magento Community. Click here to login or register.

Magento Connect 2.0

Magento Connect 2.0

Previous Next

Ajax Add To Cart

Ajax Add To Cart

Contact me for installation or support.

Whole Javascript is written in prototype JS only, no jQuery is used, so less chances of javascript conflict.

Now, also provide configurable and group products support with options select via ajax.

It is highly customisable. By default top links block, sidebar cart block and cart page's content blocks are added in update blocks list.

If you want to add more blocks which should be updated, you can easily do so just by adding its name and block's parent class / ID selector.

You can refer the default layout update entries in admin panel for further details.

NOTE: Please confirm that the block which you are adding in layout update entries is under default handle or under ajaxcart handle. You can refer ajaxcart.xml frontend layout file for further details.

M1 Extension Versions

Added support for Magento 1.9

2014-07-31 07:09:33
  • Version number: 2.1.0
  • Stability: Stable
  • Compatibility: 1.5, 1.6, 1.6.1,, 1.7, 1.8, 1.8.1, 1.9
You must be registered and logged in to get extension key.

Magento Connect 2.0

Magento Connect 2.0

Added support for Magento 1.9

Feature enhancement and bug fixes

2013-07-13 08:44:31
  • Version number: 2.0.1
  • Stability: Stable
  • Compatibility: 1.5, 1.6, 1.6.1,, 1.7
You must be registered and logged in to get extension key.

Magento Connect 2.0

Magento Connect 2.0

Finally, added bundle product add to cart from listing page via ajax.

Also, fixed compare product stopped working issue.

Major Release - added CONFIGURABLE and GROUP products support

2013-03-09 06:22:31
  • Version number: 2.0.0
  • Stability: Stable
  • Compatibility: 1.5, 1.6, 1.6.1,, 1.7
You must be registered and logged in to get extension key.

Magento Connect 2.0

Magento Connect 2.0

Now, it provides ajax add to cart functionality for configurable and group products too.

fixed firefox and IE js error for file uploads.

2013-01-03 05:05:06
  • Version number: 1.1.2
  • Stability: Stable
  • Compatibility: 1.5, 1.6, 1.6.1,, 1.7
You must be registered and logged in to get extension key.

Magento Connect 2.0

Magento Connect 2.0

fixed firefox and IE js error for file uploads.

added file upload for custom product option type file

2013-01-02 10:45:51
  • Version number: 1.1.1
  • Stability: Stable
  • Compatibility: 1.5, 1.6, 1.6.1,, 1.7
You must be registered and logged in to get extension key.

Magento Connect 2.0

Magento Connect 2.0

added file upload for custom product option type file
1 2

Delete Warning line

How to delete warning message on top when i add product to cart it
Asked by: sachin06109
If you are looking to just remove the word warning! or change it to something a little more friendly this can be done simply be editing line 154 in /magento/skin/frontend/base/default/ajaxcart/growler.js Hope this helps :)
Answered by: chriscom
Date published: 2015-03-10

Estimate button breaks after Delete

Hi man First of all: Your module is awesome. Really usefull and well done. Question: Do you know what happens with Estimate button after a Delete process in Checkout Cart page? I don't understand why but my Estimate button returns only false, and submit does not work. The same happens in your demo page: http://magento-172.ap01.aws.af.cm/ Removed validation from country and region but the problem persists.
Asked by: haphaews
Hi guys After a long search I discovered that it's a Prototype bug. Problem fixed updating js/prototype.js file. Look for this piece of code: function evalScripts() { return this.extractScripts().map(function(script) { return eval(script) }); } Replace by: function evalScripts() { return this.extractScripts().map(function(script) { with(this){ return eval(script);} }); }
Answered by: haphaews
Date published: 2014-08-29

Where can I find the configuration?

Couldn't find it anywhere in System->Configuration
Asked by: heychris
When you use connect it somehow misses downloading the app/code/local/Hardik folder. I ended up downloading the package directly from here: http://www.tangkoko.com/direct-download-magento-extension/ then uploading the missing folder and now it works. It should then appear underneath the sales section in the configuration menu. DKNZDesign
Answered by: dknzdesign
Date published: 2016-12-02

jQuery Error On Magento 1.9

Hello Support, I have been using Reative Ajax Cart for a website:http://staging.visaluschallengeshop.com/ When i am adding a product in cart after that when i click on Cart Icon i am getting an error "Syntax Error" from jquery-1.10.2.js Error : Syntax error, unrecognized expression: http://staging.visaluschallengeshop.com/index.php/checkout/cart/ ...alue:null:a},at.error=function(e){throw Error("Syntax error, unrecognized expres... This error is not replicated when page is refreshed. Only happens after adding it cart. Please help.
Asked by: Samannoy
Inside bindNewEvents:function() { replace skipLinks.on('click', function (e) { for $j('body').on('click','.skip-link', function(e) { replace var target = self.attr('href'); for var target = self.data('target-element'); if the plugin had's a second #header-cart, before var elem = $j(target); had this, the element with class header-minicart, in my case, is where the second header-cart is being appended if ($j(".header-minicart " + target).length) { $j(".header-minicart " + target).remove(); } And that's it, hope it helps in your case
Answered by: Migueeeeel
Date published: 2015-10-08

I need to add a qty filed to the category page. Please, help :-)

Extension is great. It is possible to add a qty filed to the category page?
Asked by: mjankowski
add this code to your category page just before cart button. <script type="text/javascript"> function setQty(id, url) { var qty = document.getElementById('qty_' + id).value; document.getElementById('cart_button_' + id).innerHTML = '<button type="button" class="button" onclick="setLocation(\'' + url + 'qty/' + qty + '/\')"><span><span>Add to Cart</span></span></button>'; } </script> <input type="text" name="qty_<?php echo $_product->getId(); ?>" id="qty_<?php echo $_product->getId(); ?>" maxlength="12" value="1" onkeyup="setQty(<?php echo $_product->getId(); ?>, '<?php echo $this->getAddToCartUrl($_product) ?>');" title="<?php echo $this->__('Qty') ?>" class="input-text qty" />
Answered by: quibria
Date published: 2016-09-20

Problem after add to cart

Hi there, I've noticed an issue using this extension (also on the demo site)... When you add something to cart, the search button and account menu stop working until you direct to another page. Anyone noticed/fixed this? Otherwise this mod will be greatly useful. Thanks for the effort
Asked by: mcdoogle86
Try to comment out those line from ajaxcart.js then remove cache. // Avoid PrototypeJS conflicts, assign jQuery to $j instead of $ if (typeof(jQuery) != undefined) { var $j = jQuery.noConflict(); var skipContents = $j('.skip-content'); var skipLinks = $j('.skip-link'); if (typeof(skipContents) != undefined && typeof(skipLinks) != undefined) { skipLinks.on('click', function (e) { e.preventDefault(); var self = $j(this); var target = self.attr('href'); // Get target element var elem = $j(target); // Check if stub is open var isSkipContentOpen = elem.hasClass('skip-active') ? 1 : 0; // Hide all stubs skipLinks.removeClass('skip-active'); skipContents.removeClass('skip-active'); // Toggle stubs if (isSkipContentOpen) { self.removeClass('skip-active'); } else { self.addClass('skip-active'); elem.addClass('skip-active'); } }); $j('#header-cart').on('click', '.skip-link-close', function(e) { var parent = $j(this).parents('.skip-content'); var link = parent.siblings('.skip-link'); parent.removeClass('skip-active'); link.removeClass('skip-active'); e.preventDefault(); }); } }
Answered by: quibria
Date published: 2015-04-17

404 error page in configuration page

i am getting 404 error page when try to configure this extension
Asked by: rashapc

Good extension. Unexpected behavior

Hi guys, thank you for this extension! Everything works as it should but: If the page is not fully loaded, then only the json data will be shown. Anyone found a fix for this?
Asked by: timgu90

Add to cart functionality not working in IOS device.

When i add to cart from iphone/ipad it doesnt add product to cart and got message cookies are disable while cookies are enable in my device.
Asked by: Anjana_solanki

Where i can download it

This site doesnot have it now.
Asked by: sgureev
  • y_2017, m_2, d_19, h_3CST
  • bvseo_bulk, prod_bvqa, vn_bulk_0.0
  • cp_1, bvpage1
  • co_hasquestionsanswers, tq_45
  • loc_en_US, sid_15606, prod, sort_[SortEntry(order=LOCALE, direction=DESCENDING), SortEntry(order=FEATURED, direction=DESCENDING), SortEntry(order=NUM_ANSWERS, direction=DESCENDING)]
  • clientName_magento
Get Help

Support for This Extension

The best place to start if you need help with a specific extension is to contact the developer. All Magento developers have both a contact email and a support email listed.

Magento Platform Support

If you need support for a Magento platform, there are different options for support depending on which Magento platform you are using. Below are links for specific platforms.


About the Developer

This extension was developed by and is supported by Hardik Gajjar

Ajaxcart is rated 3.9 out of 5 by 50.
Rated 5 out of 5 by from Extension works 110% This extension gave all that I need and more, love that blocks refresh functionality!
Date published: 2016-10-19
Rated 4 out of 5 by from Works with one issue. As a previous reviewer described, there is an issue in ajaxcart.js. I just wanted to add some more details in case other people run into this issue. On line 330 change: elem.addClass('skip-active'); to skipContents.addClass('skip-active'); I also added class .header-minicart and xml block minicart_head_mobile to the xml blocks to update in the configuration. This fixed an issue with the cart not displaying when in mobile view.
Date published: 2016-08-12
Rated 5 out of 5 by from Great extension! Would be great to have color and background option in backend, but still great plugin, giving 5 Stars for compatibility :)
Date published: 2016-07-21
Rated 1 out of 5 by from Not worthy This extension is very poorly designed, Works fine. But the thing is it also works when you have uninstalled this. I strongly recommend to backup your site before you try the adventure of installing this.
Date published: 2016-05-10
Rated 4 out of 5 by from It works This works for the most part. You will have to change some of the js. In ajaxcart.js lines 311- 327 elem is referenced, which is not correct. You need to change elem to skipContents. On skip-links click event, you should be adding and removing the class skip-active to skip-content. The code is written to add skip-active to the href attribute which is not correct.
Date published: 2016-04-10
Rated 3 out of 5 by from Blocking other javascripts Magento ver. i am facing following issues 1] not able to select customizable options when quick view appears. 2] on product add to cart page, after adding product to cart ,when i click on skip-cart icon -instead of showing drop-down menu of products it directs me to checkout page.
Date published: 2016-02-01
Rated 5 out of 5 by from Excellent Works perfect on our shop. It's a simple well functioning extension without problems. Thank You!
Date published: 2015-11-25
Rated 4 out of 5 by from Good extension Simple and helpful module. just need little amount of works on the notification, translations.
Date published: 2015-11-24
Rated 1 out of 5 by from Does not work I installed this extension and it does not work properly. Not updating cart instantly, updating cart after page refresh, and its applying even after i disable it.
Date published: 2015-08-11
Rated 4 out of 5 by from Works right out of the box Works even with our custom theme, just need little amount of works on the notification, translations.
Date published: 2015-08-04
  • y_2017, m_2, d_19, h_7
  • bvseo_bulk, prod_bvrr, vn_bulk_0.0
  • cp_1, bvpage1
  • co_hasreviews, tv_0, tr_50
  • loc_en_US, sid_15606, prod, sort_[SortEntry(order=FEATURED, direction=DESCENDING), SortEntry(order=SUBMISSION_TIME, direction=DESCENDING)]
  • clientName_magento

In order to upload extension, you must be logged in to the Magento Community. Click here to login or register.



* Required Fields

Close window

Forgot Your Password?

Please enter your email below and we'll send you a new password.

* Required Fields

Close window


To upload extension you must be logged in.

* Required Fields

Close window

You are using an outdated browser

We built Magento Connect using the latest techniques and technologies.
This makes Magento Connect faster and easier to use.
Unfortunately, your browser doesn't support those technologies.
Use the links below to download a new browser or upgrade your existing browser.