Post by vegivory » Sat Feb 24, 2018 6:40 am

Hello,.
I'm using opencart 1.5.4 and have, for a long time, noticed that when I go to the "Customer" page in administration and go to edit any specific customer, the email address for that customer gets "autofilled" over with my own email address. It's annoying because in order for me to access that customers email address I have to cancel out of that screen back to the main customer page to see their email address which displays properly on that page. I even tried deleting the autofill for my website but then it just seems to autofill random information from my contacts list.
Anyone have any ideas of what's causing this? It didn't do that when I originally installed opencart.
Thanks in advance for any help.

Newbie

Posts

Joined
Thu Oct 18, 2012 4:20 am

Post by Johnathan » Sat Mar 24, 2018 12:47 am

You can try this edit, which should tell the browser not to autocomplete that field:

Code: Select all

IN:
/admin/view/template/sale/customer_form.tpl

REPLACE:
<td><input type="text" name="email" value="<?php echo $email; ?>" />

WITH:
<td><input type="text" name="email" value="<?php echo $email; ?>" autocomplete="off" />

You can do that for other <input> fields in there as well, if you need to.

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am

Who is online

Users browsing this forum: No registered users and 122 guests