Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #15432

    Hi there,

    I’m in the testing stage of a business idea and instead of the “Place Order” link on the checkout page processing a payment, I want it to link to another page explaining that currently the product is not available. However I still want to receive the contact details that have been entered by the user.

    Could you please explain how I can do this?



    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.




    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?



    Hey lebum10,

    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.




    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 = ‘’;


    $this->testurl = ‘’;

    and simply change the links. Be careful not to delete the links though, so add a comment around them to save them for later.



    Thanks for sharing your solution :)

    Best regards,


Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Changing link on checkout page’ is closed to new replies.