Redirect after successful checkout?

Is there any way to redirect the user to a url after a successful checkout?
Comments
  • fc_adamfc_adam FoxyCart Team
    @brinster,

    Hey - it is indeed! You can simply customise your receipt template to include a quick line of javascript to redirect the customer, either straight away or after a delay. That could look as simple as this, placed within the <head> section of your store's receipt template:
    <script>
    window.location = "http://your-website.com";
    </script>
  • thanks... hardest part was figuring out how to edit the template!
  • fc_adamfc_adam FoxyCart Team
    @brinster,

    Sorry for not explaining that part! Glad you got it working.
Sign In or Register to comment.