AJAX Add to Cart

All of ShopDev's CubeCart skins include our "AJAX Add To Cart" feature as standard. This allows your visitors to add items to their shopping cart without page refreshing. Consequently, you save on bandwidth whilst your visitor benefits from your site's increased responsiveness.

What is AJAX?

AJAX is an acronym for Asynchronous JavaScript and XML. The AJAX technology allows data to be sent, retrieved and manipulated in the background without refreshing the page. You probably visit many websites each day that make good use of AJAX technology: Google Maps, MSN Hotmail, Twitter, Facebook and even ShopDev. The list is endless.

Why should I care?

Our skins all submit add to cart requests via AJAX. Since the request is done in the background, the page does not refresh. Fewer page reloads means a faster and more responsive site.

But it only shows the number of items added to the cart...

Many of our skins only display the number of items added to the cart as standard. However, if you're using one of the following skins, you can change what information is displayed by editing just two template files:

  • Catalyst Reloaded > V4.1.0
  • Neutrino > V4.2.0
  • Sandbox > V4.1.0

Basic documentation and sample code is available through the Client Panel