WAIT: Using Add to Cart button in a query loop redirects to product page

Bricks Version: 1.5
Browser: Chrome 90
OS: macOS / Windows / Linux / etc.
URL: (a link to a page that illustrates the issue would be really helpful)

If I use a Add to Cart button inside a query loop it adds a product to the cart and redirects to the product page. Which is absolutely the wrong thing to do. It should just add to cart and nothing else.

https://captainmint.com

EDIT: I replaced the query loop with the Products element on my page, but the original problem persists.

Hi Peter,
Thanks so much for your report!

I’m not getting redirected anywhere, the product gets added to the cart, and that’s it:

Best regards,
timmse

I think his home page doesn’t have a query loop. His shop page does.

This is not made with Query loop. I’ve replaced it with the Products element.

However, the issue with Querloops and ATC buttons persists.

Maybe, but without seeing the problem and being able to reproduce it, I’m poking in the dark and, unfortunately, can’t help you.

Please create a temporary page where you use the query loop and record a screen recording directly when you create it, so I can see what you are doing. That could help :wink:

1 Like

How do You implement open Mini Cart after Add To Cart?
Can You give me any advice?