| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Remove Username and password on Checkout | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi folks,
on my store can access only the registrated users by myself. But,unfortunately, at first checkout the users can modify username and password. In order to remove the section at the bottom of the checkout page where it allows you to pick a username and password, I inserted on \skin1\customer\main\register.tpl this condition : {if $usertype ne "C"} {include file="main/register_account.tpl" userinfo=$userinfo} {/if}. So, this modification is OK, but when the user needs to modify the others fields as shipping address, or others allowed fields, on to Profile details, he receive this error message Access denied ! You are not allowed to access that resource! Error ID: 36 I'm looking for way to allow to users to modify only limitated information on Profile. Thanks for your support. Bye
__________________
x-Cart Pro Version 4.0.18 X-AOM X-FancyCategories Windows |
|||||||
#2
|
|||||||
|
|||||||
![]() Hi folks,
I resolved myself the problem.I restored the original "\skin1\customer\main\register.tpl " and i changed,instead, the code on \main\register_account.tpl FROM : <TD nowrap><INPUT type="password" id="passwd1" name="passwd1" size="32" maxlength="32" value="{$userinfo.passwd1}"> TO : {if $usertype ne "C"} <TD nowrap><INPUT type="password" id="passwd1" name="passwd1" size="32" maxlength="32" value="{$userinfo.passwd1}"> {else} <TD nowrap><INPUT type="password" id="passwd1" name="passwd1" size="32" maxlength="32" value="{$userinfo.passwd1}"readonly>{/if} This modification is to do also on confirm_password. It's simple and works. Bye
__________________
x-Cart Pro Version 4.0.18 X-AOM X-FancyCategories Windows |
|||||||
|
|||
X-Cart forums © 2001-2020
|