Bring Your Business to Life › Support › Image Store › # Of Items In Cart Update Div? › Reply To: # Of Items In Cart Update Div?
April 27, 2014 at 12:26 am #98457
Keymaster
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
});