• Resolved lisetteq

    (@lisetteq)


    Hi,

    I have the problem that the add to cart button (voeg to aan winkelwagen in Dutch) opens the product page when I want it to only add the product to the cart, and stay on the shop page. Does anyone know where to find this setting?

    Hope you can help me!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @lisetteq

    You need to keep this checkbox unchecked:

    IMAGE
    Link to image: https://snipboard.io/h4uvYf.jpg

    I noticed the button is using Ajax. You can read more here about controlling redirect to cart or stay on the same page: https://woocommerce.com/document/add-to-cart-redirect/#section-1

    I hope this helps!

    Thread Starter lisetteq

    (@lisetteq)

    Hi, thanks for getting back to me!

    I have the same setting as shown in your screenshot, and it still refers to the product page after the add to cart button is clicked. In the link you send it says this is changeable, but I don’t see how. Is there code I need to implement before I can change what the add to cart button does?

    Hi @lisetteq

    I have the same setting as shown in your screenshot, and it still refers to the product page after the add to cart button is clicked.

    I’ve tried this on my test site which has the latest versions of WordPress, WooCommerce and the Storefront(default) theme, and I could not reproduce the same issue.

    This kind of problem is usually caused by a conflict with your theme or with another plugin. To determine what’s causing the issue, please temporarily switch your theme back to Storefront and disable all plugins except for WooCommerce. If that resolves the issue, then re-enable plugins one-by-one until you find the one that’s causing the conflict.

    You can find a more detailed explanation on how to do a conflict test here: https://docs.woocommerce.com/document/how-to-test-for-conflicts/

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, you were able to find a solution to your problem! If you have further questions, please feel free to open a new topic.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add to cart button refers to productpage’ is closed to new replies.