Right now (on my test site) when you click "add to cart" on any product on the home page (using the button that drops down) it refreshes the page and takes you back to the top of the page.
I need to stop that happening, it's interfering with a plugin I am using. When add to cart is clicked I just need the page to stay as it is, with the add to cart drop down open (ie: no change at all).
Anyone know how I can do this. Also, out of interest, why does it refresh the page like that, I don't think it happens on the product pages, but I may be wrong).
Question
annafjmorris
Hi
Right now (on my test site) when you click "add to cart" on any product on the home page (using the button that drops down) it refreshes the page and takes you back to the top of the page.
I need to stop that happening, it's interfering with a plugin I am using. When add to cart is clicked I just need the page to stay as it is, with the add to cart drop down open (ie: no change at all).
Anyone know how I can do this. Also, out of interest, why does it refresh the page like that, I don't think it happens on the product pages, but I may be wrong).
14 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now