if I include an 'add to cart' button in the extended info pop up, it adds the selected item to the cart .. this is good.
there is a functionality oddity though, as when it adds to cart in the pop up, it briefly displays the basket and bounces back to the original page (not the extended info page) .. in the pop up. So I end up with two versions of the main page showing, one of which is now in the pop up window.
Is there a way that, if the add to cart button is pressed on the normal page it does it's normal thing .. but if the add to cart button is pressed in the extended info pop up it doesn't bounce about. It looks a bit strange .. I've noticed that the main page (which is now sitting behind the pop up window) has not refreshed the cart value to represent the new addition either .. and doesn't unless you add something else or view the basket. How do I get the basket value to refresh correctly whenever something is added to it, from wherever it's aded (from the pop up window or the normal window).
fun though.
there is a functionality oddity though, as when it adds to cart in the pop up, it briefly displays the basket and bounces back to the original page (not the extended info page) .. in the pop up. So I end up with two versions of the main page showing, one of which is now in the pop up window.
Is there a way that, if the add to cart button is pressed on the normal page it does it's normal thing .. but if the add to cart button is pressed in the extended info pop up it doesn't bounce about. It looks a bit strange .. I've noticed that the main page (which is now sitting behind the pop up window) has not refreshed the cart value to represent the new addition either .. and doesn't unless you add something else or view the basket. How do I get the basket value to refresh correctly whenever something is added to it, from wherever it's aded (from the pop up window or the normal window).
fun though.
Comment