Redirect user after they click "Purchase"
-
Excellent plugin!
On an individual product page which has variable pricing, after the user has selected the option they want and clicked “Purchase”, once the product is added to the cart I want the user to be redirected to another page (I have created a specific page for this already), instead of staying on the same page and the “Purchase” button being replaced by a “Checkout” button.
I think I need to add this line to the EDD function that is executed when “Purchase” is clicked:
“wp_redirect( MY CUSTOM PAGE URL );”Can you tell me which function it is I need to edit?
And is there a cleaner way to do this rather than editing the plugin code?
Thanks!
- The topic ‘Redirect user after they click "Purchase"’ is closed to new replies.