Thread: Login redirect

Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2010
    Posts
    87
    Plugin Contributions
    0

    Default Login redirect

    I've almost completed my set-up for Zen-Cart and ready for it to go online in just a few hours from now... but I'm having one more issue...

    On the home page, it asks the user if they would like to log in. And so, they log in. Then on the "logged in" page, it asks if they'd like to log in...

    How can I change the page it loads after the user logs in? I've noticed there's define pages - Page2 I could possibly use, so it goes there after the user logs in... but I'm not sure how to set that up so it forwards to that page?

  2. #2
    Join Date
    Nov 2010
    Posts
    87
    Plugin Contributions
    0

    Default Re: Login redirect

    any help, please... it's the last thing i need to do to get things finished...

  3. #3
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Login redirect

    What you seek is not simple for the cart determines where you cam from as in if you were shopping and decided to checkout but are not logged in you are directed to login or create an account. upon success you are sent back to the checkout page or where ever you were....

  4. #4
    Join Date
    Nov 2010
    Posts
    87
    Plugin Contributions
    0

    Default Re: Login redirect

    Ok. I'll see if I can work around it then.

    Thanks Kobra :)

  5. #5
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Login redirect

    A clean fresh install of Zen Cart will ONLY ask you if you'd like to log in IF you're not actually logged in.
    That would explain the unexpected redirect.

    I suggest you fix *that* problem before trying to mangle the code to redirect somewhere.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Replies: 3
    Last Post: 15 May 2014, 05:35 PM
  2. Replies: 1
    Last Post: 16 Apr 2011, 07:24 PM
  3. Login Link - Can I redirect to My Account after login?
    By perkiekat in forum General Questions
    Replies: 2
    Last Post: 3 Feb 2010, 01:34 AM
  4. redirect after login
    By teva in forum General Questions
    Replies: 8
    Last Post: 7 Feb 2008, 09:18 PM
  5. login redirect
    By redxiii in forum Customization from the Admin
    Replies: 2
    Last Post: 23 Nov 2006, 03:13 AM

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