Reply 173119 to: How to stop the page scrolling to top after press add to cart button

Avatar: Olga Barlow
Olga Barlow
Support staff
September 21, 2017 at 15:42

Hello,

You have made additional customization to theme files and Ajax add to cart function on grid does not work anymore (you can enable parent theme and compare), that’s why after page reload you are redirected to page with different URL, to the top of the page to WooCommerce success message.

It’s not related to code that you provided. You can enable default theme and try to add any product to cart without Ajax and you’ll see the same result. So, either you need to improve your changes and fix Ajax add to cart for your products or implement some scroll to the product. In any case, additional customization is our the scope of our support. If you need help with additional customization you may contact WPKraken team.

Regards

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.