How to enable ajax add to cart buttons on archives

You can see the setting in WooCommerce > Settings > Products.

What Does it Mean?

It utilizes an AJAX call to a function that adds or removes the product to the cart without reloading the page.

If you checked the “Enable ajax add to cart buttons on archives” box, what will happen is when you click add to cart button on the archive page(or shop page), the cart information is updated without reloading the entire page. This way makes the user experience much smoother.

Normally you only need to turn it off when your site encounters bugs related to ajax function; or incompatible with the plugins or theme you are using.