Commerce Module Tuesday: Commerce Cart Ajax

Commerce Cart Ajax is a contributed module for Drupal Commerce that provides a way to "ajaxify" the cart so the cart page is not reloaded when changing the quantities of a product or removing it.

It takes advantage of Commerce's cart being a View and with a really simple option you get the user experience enhancement out of the box. You just need to enable the the Views' setting "Uses Ajax" and enjoy.

Posted April 3, 2012

Comments

Submitted by elena_fran (not verified) on

I originally made this module while I thought Commerce Cart Ajax would only handle the add to cart form page, not the cart block itself.
I keep using mine atm as it allows to have an AJAX behavior on the cart block even when the cart is empty - Eventually i'll switch to Commerce Cart Ajax when #1316644: Add to cart button will be fixed.
IMO The big avantage of Commerce Cart Ajax is that it inserts drupal_message() in the page as well, my module does not.
I've viewed the similar situation while visiting online roulette australia.
But anyway thanks for the opportunities.

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd> <p> <br>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
X
In 2019 Commerce Guys rebranded to Centarro.

Change is at the center of eCommerce, but our team and mission remain the same.

Our consulting, development, and support offerings apply our expertise to help you adapt to change and grow.

Find us now at: https://www.centarro.io