Jump to content

How to remove phone validation in invoice block 1.5.6.2


PrestaShark

Recommended Posts

Hi,

I want to remove phone validation in invoice block in order-opc-new-account.tpl because its completely unnecessary data field here. PS 1.5.6.2

<div class="form-group is_customer_param">
	<label for="phone_mobile_invoice" class="col-md-3 control-label text-right"><strong>{l s='Telefon #1'}</strong></label>
		<div class="col-md-9">
			<input type="text" name="phone_mobile_invoice" id="phone_mobile_invoice" value="{if isset($guestInformations) && $guestInformations.phone_mobile_invoice}{$guestInformations.phone_mobile_invoice}{/if}" class="form-control" {if isset($one_phone_at_least) && $one_phone_at_least}required{/if} />
		</div>
</div>	
<div class="form-group is_customer_param">
	<label for="phone_invoice" class="col-md-3 control-label text-right"><strong>{l s='Telefon #1'}</strong></label>
		<div class="col-md-9">
			<input type="text" name="phone_invoice" id="phone_invoice" value="{if isset($guestInformations) && $guestInformations.phone_invoice}{$guestInformations.phone_invoice}{/if}" class="form-control" />
		</div>
</div>														

this bloody part phone_mobile_invoice and phone_invoice

Thanks for any hints

Edited by PrestaShark (see edit history)
Link to comment
Share on other sites

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...