Jump to content

How to refresh the cart when it is Activate AJAX mode for cart.


martinwang

Recommended Posts

HI,everyone.I have meet a problem and i would like to ask you
because i have hookcart to add some product in the cart, so i have meet problem that the cart may not change until i refresh the page manually.i would like to ask how to write code to refresh the page(index or order.php) automatically when it is Activate AJAX mode for cart.Thank you very much

Link to comment
Share on other sites

  • 2 years later...

I was trying to do the same thing, still have not found an answer. ;( I had tried using Tools::redirect but that does not seem to work well, I get an error dialog because I think it messes up the Ajax call because my hook isn't returning.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...