If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
August 16, 2012 at 9:22 pm #15432August 16, 2012 at 11:21 pm #87477
Try to replicate the checkout page with all the fields and stuff, when the user click Place Order try wp_redirect them to another page.
IsmaelAugust 19, 2012 at 10:35 am #87478
Hiya, thanks for your suggestion.
The only way I can see this working is if I change the link from the cart page to my newly created checkout page. However when going in to edit the cart page (or the checkout page for that matter) all that there is the code [woocommerce_cart] or [woocommerce_checkout] and I’m not sure how I can edit these, and the links, so they page directs elsewhere.
Can you suggest what to do?
Thanks.August 22, 2012 at 4:48 pm #87479
What Ismael is suggesting is to create a completely new page using either a plugin, custom page template built via php/html/css or if you want to modify the actual woo commerce part of things to modify the plugin itself.
Designate this page in your Woocommerce options as the checkout page and that should in theory get the user to that page when they attempt to checkout.
This is actually something we can directly support via the support forums however so we can’t really get into the exact code or process in which to do something like this.
If you aren’t comfortable with php/html I’d recommend the plugin avenue first and if not that then look into a freelance web developer.
DevinAugust 23, 2012 at 9:08 pm #87480
Well, after a solid 3 hours of research I’ve figured it out. For anyone else wanting to do the same, you need to locate the class-wc-paypal.php file and the line(s):
$this->liveurl = ‘https://www.paypal.com/webscr’;
$this->testurl = ‘https://www.sandbox.paypal.com/webscr’;
and simply change the links. Be careful not to delete the links though, so add a comment around them to save them for later.August 25, 2012 at 4:53 pm #87481
The topic ‘Changing link on checkout page’ is closed to new replies.