Jump to content

How to remove fields in guest instant checkout but leave in create account option


Dede

Recommended Posts

Hello everyone! Sorry for my English, i don't know it well,but i gues you'll understand me. So below i'll describe my problem and question:

 

when my customer confirm order in order-opc.php he can chouse two types of confirming by creating new account or choosing instant checkout without registration.The main problem that i don't know how to remove Password field from instant checkout, but leave visible in creating account. (in instant checkout password isn't required field, but in creating accout it's required). I think i must use construction {if} before

 

<p class="required password is_customer_param">
 <div class="inpsh-l"></div><div style="float:left;"><input type="password" class="text" name="passwd" id="passwd" placeholder='{l s='Password'}' onclick=\"if(this.placeholder=='{l s='Password'}')this.placeholder='';\" onblur=\"if(this.placeholder=='')this.placeholder='{l s='Password'}';\" /></div>
 <div class="inpsh-r" style="margin-right:5px;"></div>
 <div class="form_info" style="margin-top:10px;">{l s='(5 characters min.)'}</div>
   </p>

 

but i dont know what to write. can someone help me? If you dont know what i mean i can attack screenshots to describe the problems

Link to comment
Share on other sites

i think you dont understand what i mean. I want to give my clients choose two ways of confirming. By confirming order using instant checkout and creating account . In instant checkout i want to do invisible password field and date of birth, but in full registration that fields must be!!!

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...