0

For some reason, we need to add the tag autocomplete="off" to the e-mail field at checkout (/checkout/).

So the current code:

<input class="input-text mage-error" type="email" data-bind="textInput: email, hasFocus: emailFocused" name="username" data-validate="{required:true, 'validate-email':true}" id="customer-email" aria-required="true" aria-invalid="true" aria-describedby="customer-email-error">

Must become:

<input autocomplete="off"  class="input-text mage-error" type="email" data-bind="textInput: email, hasFocus: emailFocused" name="username" data-validate="{required:true, 'validate-email':true}" id="customer-email" aria-required="true" aria-invalid="true" aria-describedby="customer-email-error">

Now I'm looking for the (.phtml?) file where I can change this... But can't find it... Any idea which file to edit? Thanks!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.