# Of Items In Cart Update Div?

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

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #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
    });
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.