Go to a different page after Signing In

General ShopSite user discussion

Go to a different page after Signing In

Postby skymill » Tue Dec 08, 2009 7:42 am

As with some of the other Wholesale website questions, I need to have people sign-in before letting them view the site. The htaccess method would require 2 separate usernames/passwords (if they also register in SS) which is not an ideal solution.

So I created a custom SS 10 login page where people need to sign-in before being able to access the store (I created a custom Registration template and removed the "I'm a New Customer"link).

But I can't figure out how to direct them to a different page after Logging In. Is there any way to have the "Continue Shopping" button on the Account Information page lead to a different url than the previously visited page?

Thank you for any suggestions.
skymill
 
Posts: 21
Joined: Thu Oct 09, 2008 11:20 am

Redirect to different Page

Postby mjbrunelle » Tue Dec 08, 2009 1:57 pm

Usually after the SS Sign In you are sent to:

### Main View/Edit Page with Buttons ###

We wanted it to go directly to the preference page, instead of fighting the internal logic of SS we use an onload() function call in the body tag to have button169 clicked and follow to the Preferences Page.

You could do the same only call your page from your javascript function.

<body onload="getPage('pagename.html');">

MarkB
mjbrunelle
 
Posts: 147
Joined: Sun Jun 21, 2009 5:09 am


Return to User Forum

Who is online

Users browsing this forum: Bing [Bot] and 144 guests

cron