| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Using default XCart index.html as a login page.. | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() Does anybody know if I could use the default XCart index.html page and turn it into a login page?
I have a client who wants to use an XCart licence on a subdomain for internal orders of products by their sales reps. So it's not a general for anyone to see type online shopping site, therefore the "splash page" issue is of no concern. They just wanted to prevent the casual browser from looking at their products if they happened to stumble across it. So by having " please enter username & password" might just do the trick. Once the reps login they see the standard home.php page. Thanks
__________________
XCart 4.5.4, 4.6.1, 4.64 stores Many, many mods from Altered Cart XCart Mods Reboot template The XCart Store Templates and Mods WCM CDSEO Pro BCSE Rewards Points and Gallery Mods and a few others |
|||||||||
#2
|
|||||||
|
|||||||
![]() Why not just password protect the whole directory?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||||
|
|||||||||
![]() Dolt!
That's why you da man ![]() Blatantly obvious, thanks Balinor.
__________________
XCart 4.5.4, 4.6.1, 4.64 stores Many, many mods from Altered Cart XCart Mods Reboot template The XCart Store Templates and Mods WCM CDSEO Pro BCSE Rewards Points and Gallery Mods and a few others |
|||||||||
#4
|
|||||||||
|
|||||||||
![]() Actually on reflection, I pumped you up too quick
![]() Password protecting the whole directory means each rep then has to "login" again to access the cart. Each rep has their own membership details for shipping etc that's why I thought the index.html login page may have been the answer. Back to the original question perhaps? Thanks
__________________
XCart 4.5.4, 4.6.1, 4.64 stores Many, many mods from Altered Cart XCart Mods Reboot template The XCart Store Templates and Mods WCM CDSEO Pro BCSE Rewards Points and Gallery Mods and a few others |
|||||||||
#5
|
|||||||
|
|||||||
![]() Then just set all of the categories/products to be available only to a certain membership level and assign all of the reps to that level. Put a login form in welcome.tpl - they won't be able to see anything until they log in.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#6
|
|||||||||
|
|||||||||
![]() Thanks Balinor,
I did as you suggested and it's not too bad. It leaves a blank Category box, Your Cart Box and Authentication. I probably need a couple of if /then /else statements to hide everything bar the Authentication until they login. Never done those type of edits before, so I'll have a play around. If I get stuck would you be able to punt me in the right direction? Thanks
__________________
XCart 4.5.4, 4.6.1, 4.64 stores Many, many mods from Altered Cart XCart Mods Reboot template The XCart Store Templates and Mods WCM CDSEO Pro BCSE Rewards Points and Gallery Mods and a few others |
|||||||||
#7
|
|||||||
|
|||||||
![]() Use this:
{if $login ne ""} show category, cart and auth boxes {/if}
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|