This topic has 4 replies, 3 voices, and was last updated 7 years, 11 months ago ago by Eva Kemp
After a product is added to the cart, a message is displayed giving you option to Continue Shopping or to go to Checkout. I’d like it to automatically go to checkout when specific product is ordered. Can you provide me with code that I could add to the functions.php that would do this?
Thanks!
Hello,
Try go to Dashboard > Woocommerce > Settings > Products > Display > ‘Add to cart behaviour’ and enable ‘Redirect to the cart page after successful addition’ checkbox.
After that navigate to Theme options > ‘Single product page’ and disable Ajax ‘Add to cart’.
Regards,
Rose Tyler.
That will do so for all products, but I only want to do the redirection for specific product 🙂
Hello,
Sorry, but there is no such feature in the theme.
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up