| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Problems Removing Username/Password Section | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi All,
I've tried commenting out the username and password section of the registration form, and it does effectively take it away, but the problem is that on the page directly after the personal info page (verify order) if you click the modify button and try to save a change it spits out the "Access Denied your are not allowed to access that resource error id #36" error message. I definitely have anon checkout enabled - it seems like some sort of a session error or something as if it doesn't think it's the same person that just filled in the information. I'm sure there must be a way to remove the username and password portion of the form, so if anyone has a tip on how to avoid this error that would be great! Thanks!
__________________
Mike V.4.1.11 V 4.2.2 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() I'm not sure why you are doing this but it sounds like you are setting your store up so that "anonymous" only orders are accepted.
Anonymous users don't have a "account". Since you are hiding the username/password so the customer can not create a account why not just hide anything to do with a "account" also? This would include "modify profile", "delete profile", and "order history"... and also any references to "recover password"
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
#3
|
|||||||
|
|||||||
![]() Hi JWait,
I actually just figured out how to effectively hide the username/pasword section but still allow people to modify their address info if they made a mistake: In include/register.php, replace this: Code:
with this: Code:
By taking the if statement out of the code it removes it all of the time but does not spit out the error when trying to modify address info.
__________________
Mike V.4.1.11 V 4.2.2 |
|||||||
|
|||
X-Cart forums © 2001-2020
|