Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2008
    Posts
    4
    Plugin Contributions
    0

    help question Custom Return Page?

    Hi everyone,

    I'd like to be able to send the customer to an additional page/step after they return from paying (either paypal or IPN). They'll have to submit a form I've made.

    Is there a place to program this, or add a link to the return page?

    Thanks!


  2. #2
    Join Date
    Aug 2008
    Posts
    17
    Plugin Contributions
    0

    Default Re: Custom Return Page?

    You can do this, and should be able to fairly simply. I'm not a Zen Cart expert so this is the best I can do:

    \includes\modules\pages\checkout_process\header_php.php

    That's the file you'll want to edit. Change the line:

    Code:
    zen_redirect(zen_href_link(FILENAME_CHECKOUT_SUCCESS, '', 'SSL'));
    to redirect where you need to instead. The FILENAME_CHECKOUT_SUCCESS is defined in: \includes\filenames.php

    So there you can add your own definition like define('FILENAME_CUSTOM_CHECKOUT_SUCCESS', 'checkout_custom_success');

    then make a checkout_custom_success.php file that has the contents you want. Then in that page you can redirect it to the normal checkout success page.

    Hope that helps..

  3. #3
    Join Date
    Aug 2008
    Posts
    4
    Plugin Contributions
    0

    Default Re: Custom Return Page?

    Thanks for the reply!

    Now, this won't mess up anything having to do with my PayPal return URL thingy, right?

 

 

Similar Threads

  1. Replies: 11
    Last Post: 24 Jul 2013, 03:56 PM
  2. checkout_success return page format
    By gloerick in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 25 Feb 2012, 09:13 PM
  3. Login > Return to previous page
    By beyre in forum General Questions
    Replies: 2
    Last Post: 15 Oct 2009, 08:19 PM
  4. Payment Return Page
    By Goofster in forum General Questions
    Replies: 1
    Last Post: 9 Jul 2008, 07:38 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR