Answer the question
In order to leave comments, you need to log in
How to change the order form in Opencart 2.3 (phone number input field)?
Hello!
By default, in Opencart , the form for entering a phone number, when you click on the field, displays this window
, and then if you click on this window that has fallen out, we get this:
I tried to remove the name="telefone" attribute, and in the checkout.php file I assigned entry_telephone (the one that goes to the attribute of the tag) - instead of the word "Phone" the characters are: '+7 (___) ___-__-__'
that is got this code:placeholder="echo $entry_telephone; "
<input type="text" value="<?php echo $telephone; ?>" placeholder="<?php echo $entry_telephone; ?>" id="input-payment-telephone" class="form-control" />
$_['entry_telephone'] = '+7 (___) ___-__-__';
<input>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question