Jump to content

Adicionar campo na edição de cliente do admin (Resolvido/Dica)


Recommended Posts

Foi bem simples, acabei descobrindo sozinho. No meu caso, eu tinha a coluna consultor em ps_customer, e ela já era um atributo da classe Customer. Adicionei isso + ou - na linha 820 do arquivo admin\tabs\AdminCustomers.php.

 

 

<label>Consultor:</label>
<div class="margin-form">
<input type="text" size="33" name="consultor" value="'.htmlentities($this->getFieldValue($obj, 'consultor'), ENT_COMPAT, 'UTF-8').'" />
<span class="hint" name="help_box">'.$this->l('Invalid characters:').' 0-9!<>,;?=+()@#"�{}_$%:<span class="hint-pointer"> </span></span>
</div>

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