Reply To: # Of Items In Cart Update Div?

Bring Your Business to LifeSupportImage Store# Of Items In Cart Update Div?Reply To: # Of Items In Cart Update Div?

#98457
Xpark Media
Keymaster

@jcharris,

Since all data updates are ajax driven the only way to do it is using javascript. if you refresh the page php will always return the right value.

In version 3.4.7+ you will be able to bind a event listener to the window that will indicate the image was added.

 $(window).bind('img_added_to_cart', function(){
// do something here
});