| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
Making All Customers Anonymous | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Making All Customers Anonymous
Is there a way to set X-cart so that customers can never login, i.e., all customers are always anonymous?
__________________
X-Cart: 4.0.18 Linux, Apache, MySQL: 4.1.16, PHP: 4.4.2 |
|||||||||
#2
|
|||||||||
|
|||||||||
Should be as simple as not displaying the username and password fields upon registration and not showing the Login and register boxes.
Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002! We support X-cart versions 3.x through 5.x! Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more! Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com Please E-Mail us for questions/support! |
|||||||||
#3
|
|||||||||
|
|||||||||
Thanks for the reply Carrie. I tried to not show the login and register boxes by commenting out the following code from /customer/main/register.tpl :
Code:
This appears to do the trick, but then if the customer tries to go back and modify their billing/shipping information, when they click submit they get the following message: Access denied ! You are not allowed to access that resource! Error ID: 36 I guess there must be some data that is held in register_account.tpl that is needed. I know this is the problem because I just removed the comment tags and the "Access Denied" error no longer happens. Of course then my original need to remove the login is still there.
__________________
X-Cart: 4.0.18 Linux, Apache, MySQL: 4.1.16, PHP: 4.4.2 |
|||||||||
#4
|
|||||||||
|
|||||||||
It probably needs this:
Code:
in that tpl. Try commenting out everything but those lines? That's my first guess. Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002! We support X-cart versions 3.x through 5.x! Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more! Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com Please E-Mail us for questions/support! |
|||||||||
#5
|
|||||||||
|
|||||||||
Carrie- I tried commenting out everything except what you suggested to leave, but I still get the same error message. I am going to try leaving a little more code in the register_account.tpl, but if anyone has any ideas about what code has to stay I would appreciate hearing it.
__________________
X-Cart: 4.0.18 Linux, Apache, MySQL: 4.1.16, PHP: 4.4.2 |
|||||||||
#6
|
|||||||||
|
|||||||||
If I get the chance to look into this myself I'll see what I can do. Not sure though when that would be as I got the flu this weekend and it has gotten me way behind on work, emails etc.
Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002! We support X-cart versions 3.x through 5.x! Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more! Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com Please E-Mail us for questions/support! |
|||||||||
#7
|
|||||||||
|
|||||||||
Thanks for replying when you are sick. I had something flu-like earlier this month and it wiped me out for a couple of weeks. I finally broke down and saw a doctor who gave me antibiotics. I normally try to avoid them but I think it worked. Now I am just left with an annoying cough. I hope you feel better soon. Try drinking a lot of tea.
__________________
X-Cart: 4.0.18 Linux, Apache, MySQL: 4.1.16, PHP: 4.4.2 |
|||||||||
#8
|
|||||||||
|
|||||||||
I spoke to X-cart about register_account.tpl and got pointed in the right direction. The whole trick is to know what to comment out and hide without "breaking" something else. All input types should be hidden. Here is my register_account.tpl for the benefit of anyone else who needs all users to be anonymous. (Note that some changes have to be made to other template files as well, but this one is key)
Code:
__________________
X-Cart: 4.0.18 Linux, Apache, MySQL: 4.1.16, PHP: 4.4.2 |
|||||||||
#9
|
|||||||||
|
|||||||||
Glad you got it figured out!
Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002! We support X-cart versions 3.x through 5.x! Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more! Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com Please E-Mail us for questions/support! |
|||||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|