| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Personal Welcome page for registered customers | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hello everyone....I have recently purchased X-cart and have been customizing version 4.0.17 with the usual changes...
I am using the fashion mosaic skins and was wondering if anyone knows of either an easy way to give registered customers a more Personal Welcome page for (if not available already) or a MOD that will do this... Basically, I was thinking of an option similar to the tick box in the General Options settings "Redirect customer to cart:" whereby the administrator could tick a box could 1) "Redirect customer to personal info" or 2) "Redirect customer to History" or 3) "Redirect customer to promo page" This doesn't necessarily need to be down to the Admin to pick but the user could pick his/her own page to be "Welcomed" with. At the moment the only option I can see the user has to differentiate whether or not he/she is logged in is: the "Redirect customer to cart" tick box. When this is un-ticked nothing happens apart from the top says "customer name" is logged in ! It would be nice to have the option to redirect to the customers profile details when logging in - giving them the option to check and update their info, or their recent purchases or a promo page especially for members Again - not sure if anything is already out their, I've had a scan but cannot find anything in here...I've been checking some X-Cart MOD site too but still no joy... I am very NEW to this and PHP scripting but can get by with some instructions. Let me know if you can help... Thanx in advance! Martin
__________________
version 4.0.19 php 5 |
|||||||
#2
|
|||||||
|
|||||||
![]() Open up welcome.tpl and use an {if} statement to differentiate between logged in and not logged in customers:
{if $login eq ""} Display non logged in text {else} Display logged in text {/if} You can of course use html in place of the text or whatever else you want in there.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Quote:
Thanx for that, I'll give it a go this afternoon...
__________________
version 4.0.19 php 5 |
|||||||
#4
|
|||||||
|
|||||||
![]() Super *!!! worked like a dream (not that I had any doubt)
![]() I would be interested in a random image each time the customer logs in in the future at some point....does anyone know how I would do this? Also, and this is the part I am most interested in... Now that I have a different image, I would like to change it so that when the the customer logs in, the menus change too...as if I was to click the shopping cart link. Giving the customer the option to go directly to his/her links like: View cart Checkout Wish list Modify profile Delete profile Orders history Rather than to click "shopping cart" to say...modify their profile? Am I asking too much or does anyone have a better way of doing this?
__________________
version 4.0.19 php 5 |
|||||||
|
|||
X-Cart forums © 2001-2020
|