Zen Cart Logo

Redirect shop cart

Views: 1,114

Results 1 to 15 of 15
17 Jan 2011, 9:22 AM
#1
mayhem13 avatar

mayhem13

New Zenner

Join Date:
Jan 2011
Posts:
28
Plugin Contributions:
0

Redirect shop cart

After** log in** or** register** how can the customer redirect to his shoping cart?

17 Jan 2011, 5:07 PM
#2
mayhem13 avatar

mayhem13

New Zenner

Join Date:
Jan 2011
Posts:
28
Plugin Contributions:
0

Re: Redirect shop cart

Nobody?

Some help please.

17 Jan 2011, 5:19 PM
#3
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: Redirect shop cart

When logged in the "your cart" link will be added in the top next to your actual login link.

You should remember to put the link to your site when asking question.

17 Jan 2011, 5:35 PM
#4
mayhem13 avatar

mayhem13

New Zenner

Join Date:
Jan 2011
Posts:
28
Plugin Contributions:
0

Re: Redirect shop cart

Sorry i didn't understand.
Can you make it more simple?

Thanks

17 Jan 2011, 5:52 PM
#5
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: Redirect shop cart

Don't worry, it may be me who hasn't understood your question.

When a user registers, and logs into the shop there will be more buttons in the top, where the "home" and "login" buttons are, the cart will display after the user has picked some item to put in the cart.

If that is not what you are asking, I apologize.

Best would be if you do a test yourself, registering into your site, and see what happens, and ask question giving the link to your site.

17 Jan 2011, 6:51 PM
#6
mayhem13 avatar

mayhem13

New Zenner

Join Date:
Jan 2011
Posts:
28
Plugin Contributions:
0

Re: Redirect shop cart

Really i appreciate your help my friend keneso.

Here is what i want.

For example someone came to my site and want to register.After registration,the redirect page in MIDDLE start home page i want to be his cart,not the home page.

better now?

18 Jan 2011, 2:57 PM
#7
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: Redirect shop cart

Thanks for the clarification.

I think this is a bit too complicated for my knowledge, as it has to do with the php coding.

18 Jan 2011, 4:21 PM
#8
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Redirect shop cart

Why do you want to redirect someone to an empty cart?

18 Jan 2011, 5:53 PM
#9
mayhem13 avatar

mayhem13

New Zenner

Join Date:
Jan 2011
Posts:
28
Plugin Contributions:
0

Re: Redirect shop cart

Because in my shop i made a register link in home page.So if someone register he redirected again in home page and he see REGISTER again.

I made the register link,because i can't see the CREATE ACCOUNT.I see only the LOG IN.

18 Jan 2011, 6:17 PM
#11
mayhem13 avatar

mayhem13

New Zenner

Join Date:
Jan 2011
Posts:
28
Plugin Contributions:
0

Re: Redirect shop cart

In my shop the LOG IN button already exists.So it's ok.
But there is no CREATE ACCOUNT option.

18 Jan 2011, 6:29 PM
#12
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Redirect shop cart

I don't understand. The create account option is part of the log in. If you choose "log in" you should get a page with log in fields and below that, a form to create an account.

18 Jan 2011, 6:41 PM
#13
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: Redirect shop cart

@afo

I think he wants to have a button stating: "create account" which brings it to the same login/register page.

That's why I suggested he adds "register" to the same login button (link).

18 Jan 2011, 6:55 PM
#14
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: Redirect shop cart

To see what I mean go here:
Amber precious
go to English to see it better.

19 Jan 2011, 1:56 AM
#15
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Redirect shop cart

In includes/languages/english/YOUR_TEMPLATE/index.php (where YOUR_TEMPLATE is hte name of your custom template), change the following line:

define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s">log yourself in</a>?'); 

to

define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s">register</a> or <a href="%s">log in</a>?'); 

Change the text I've highlighted in red to whatever you want.