Add to cart on category page not refreshing page

I have installed latest wordpress. In single product when “add to cart” is pressed it refreshes the page and mini cart is updated. In “Shop” menu which is a woocommerce category and are shown 8 products per page with an “Add to cart” button for each product, when I press “add to cart” the page is not refreshing so the mini cart is not updating. How can I fix it? I can’t find the code.

In single product php page “add to cart” is a submit form but in category menu “add to cart” is an href as I can see through firebug.

Read more here: Add to cart on category page not refreshing page

Leave a Reply

Your email address will not be published. Required fields are marked *