• Resolved Angela2601

    (@angela2601)


    Hi,

    I’m hoping someone can help me with the add to cart behaviour. At the moment I have a shop page with add to cart buttons included on the shop page. I have a product categories filter widget included in the side bar. When the customer filters to a product category and click add to cart for a product, the cart updates and page redirects back to the shop page with the filter removed. Is there anyway to disable the redirect and allow the customer to stay on the same page with the same filters applied?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Nico

    (@nicolamustone)

    Automattic Happiness Engineer

    Hello there,
    You can activate the AJAX Add to Cart from WooCommerce > Settings > Products > General > Shop pages > Add to cart behaviour > Check – Enable AJAX add to cart buttons on archives.

    This should add to cart the product in the background without refreshing the page!

    Thread Starter Angela2601

    (@angela2601)

    Is there a way to keep the same filters applied? At the moment it goes back to the shop page which is fine but then the filter is cleared so all products are displayed.

    Thread Starter Angela2601

    (@angela2601)

    I have the “enable AJAX..” checked but it still refreshes the page and clears the filter.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add to Cart Behaviour’ is closed to new replies.