update to 3.7 broke cart and checkout on the same page
-
Hi,
we are still developing a store and built it cart and checkout on the same page to prevent user interactions, as we are mostly sell to guest clients.
He followed this article https://businessbloomer.com/woocommerce-cart-checkout-same-pageEverything was working fine, and we have tested in development the upgrade to the last version of woocoomerce as we noticed this in changelog:
Enhancement – Prevent the Cart, Checkout and My Account pages from being set to the same pages. #23479
We thought that the set of the page was not an issue, because we have not set the cart page to anything. The thing is that now when we press the button “update cart” it always redirects to the main page (I suspect that it′s because there is no cart page defined in admin).
When we press the x to delete the product everything works ok.I found this in https://docs.woocommerce.com/document/woocommerce-pages/#section-5
Why is it incorrect to set the Cart, Checkout and My Account pages to the same page?It results in incorrect redirects and broken payment gateway functionality. WooCommerce 3.7 prevents this from happening.
My question is, why to prevent cart and checkout on the same page, as a lot of stores are evolving to this, instead of solving the problem in the gateways? That seems the real issue.
How can we fix this and have the cart and checkout on the same page, now that this upgrade has broken it ? As the remove button is working and the “update cart” is not, maybe there is also a bug here when someone does not set a cart page in settings, like our case.
- The topic ‘update to 3.7 broke cart and checkout on the same page’ is closed to new replies.