![]() |
Remove Username and password on Checkout
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 |
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 |
All times are GMT -8. The time now is 01:13 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.