Archived topic
Redirect to cart page after clicking add to cart
3 replies · Started by Moretasks on April 15, 2022
Hello,
Can we redirect to the cart page after clicking on add to cart button on the product variant?
woocommerce redirect is working fine on a single page, but it's not working on product variants.
Regards
Hi there,
is this going to the Cart or straight to the Checkout ?
Hello,
Currently, It's only showing the only product is added to the cart.
We want this redirect for product variation.
Regards
Hi there,
The “Redirect to the cart page after successful addition” works as expected from my end on product variations.
GP shouldn’t affect this functionality. “We only provide one file for WooCommerce to make it compatible, which is the basic woocommerce.php file.
GP doesn’t use any custom WooCommerce files when it comes to variable products or anything else.”
You could probably test the occurrence of this issue on a different theme.
Moreover, to see if another plugin is causing this, can you try #1 here and see how it goes?: https://docs.generatepress.com/article/debugging-tips/
Can you also try reaching out to WooCommerce support and see if they have an insight regarding this?: https://wordpress.org/support/plugin/woocommerce/
Hope this helps! If you're referring to a different issue from the “Redirect to the cart page after successful addition” not woking on product variations, kindly let us know. :)