Skip to Content
Menu
This question has been flagged
1 Reply
3993 Views

When the client clicks on the "Add to cart" button, quote from Bfood "it adds the product to the shopping cart but at the same time redirects the client to the shopping cart, which makes it a very lengthy and unproductive process, adding a product, getting redirected to the shopping cart, then going back to the shop and repeat the same process with each and every product, I want to know if there is a way to modify the button in a way that the only thing it does is adding the product to the shopping cart without redirection, so the user can easily and rapidly add several products without having to go back and forth from the shopping cart to the products categories." in the way the "Add to wish list" button works (correctly).

https://drive.google.com/file/d/1OVOXJE1HFnjqEMME7n3JXfBOcUJZWKkK/view


Does anybody know a way to solve this?


Thanks in advance!

Avatar
Discard
Best Answer

I believe this was answered here: https://www.odoo.com/forum/help-1/question/add-a-product-in-cart-without-redirect-in-cart-page-137896

However, I think I understand why this is built this way. The intention is to let customers to immediately update the desired quantity.  If someone wants to buy more, they just have to click "Continue Shopping"

This is not desirable though, for some stores, it might be good if this can become configurable. There should be an option to have the redirect or do nothing (like Add to Wishlist).

Quick recommendation on the flow:

  • In Website Admin, Add a new switch on the Customize > Products Item.  Add to Cart - Direct which if activated, does not redirect but just adds the product to the shopping cart

  • Change the current "Add to Cart" switch (website_sale.products_add_to_cart) to "Add to Cart - Redirect" for the default current behavior

Avatar
Discard