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?
Views: 1,114
New Zenner
After** log in** or** register** how can the customer redirect to his shoping cart?
New Zenner
Nobody?
Some help please.
Totally Zenned
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.
New Zenner
Sorry i didn't understand.
Can you make it more simple?
Thanks
Totally Zenned
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.
New Zenner
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?
Totally Zenned
Thanks for the clarification.
I think this is a bit too complicated for my knowledge, as it has to do with the php coding.
Totally Zenned
Why do you want to redirect someone to an empty cart?
New Zenner
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.
Totally Zenned
If that was your problem you could have just changed the login to some other text
https://www.zen-cart.com/tutorials/index.php?article=260
Like "login or register"
New Zenner
In my shop the LOG IN button already exists.So it's ok.
But there is no CREATE ACCOUNT option.
Totally Zenned
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.
Totally Zenned
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).
Totally Zenned
To see what I mean go here:
Amber precious
go to English to see it better.
Totally Zenned
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.
Tell staff why this post should be reviewed.