Announcement

Collapse
No announcement yet.

Can I set the page that I want my registered customers to land on when they log in?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Can I set the page that I want my registered customers to land on when they log in?

    You can set the page that you want the logged in customers to land on by doing the following:

    1. browse to your site folder and open the 'AccountScript.pl' file in a text editor such as notepad

    2. Find the following code:

    "sub CAccPrintPage"

    3. Add the following code after the "my $sHTML = shift;" line of code.

    if ($::g_bJustAfterLogin)
    {
    $::g_InputHash{PRODUCTPAGE} = 'LandingPage.html';
    $ACTINIC::B2B->Set('ProductPage',$::g_InputHash{PRODUCTPAGE});
    }

    4. Replace 'LandingPage.html' with the name of the page you want them to go to.

    5. Save and close the file and update your site.

    Note that the above is for v11 and above.

    SellerDeck is not able to provide any detailed support for script changes made. If you find that there is a problem, an original copy of the script can be found within the 'Original' folder in your installation. Copy this into your site folder.
Working...
X