I am working on WooCommerce. When the user fills the detail and clicks on add to cart button, a user does not redirect to the cart button. A notification shows at the bottom “[NAME OF THE PRODUCT] has been added to your cart, View cart.” I want that if the user clicks on add to cart button after filling details, it should be redirected to the cart page automatically.

Here is screenshot https://i.stack.imgur.com/NW2Rs.png


1 Answer 1


In Woocommerce Settings Go to > Products, Tick Add to card behavior Redirect to the cart page

Woocommerce setting screen

  • thanks! It works.
    – Yus
    May 17, 2020 at 12:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.