My wish is to put the DBdata 'company' from 'oc_address' to the edit.tpl. For this, i've added all items in the
- /catalog/view/theme/default/template/account/edit.tpl
- /catalog/controller/account/edit.php
- /catalog/model/account/customer.php
It seams to work, because the company field appears but only with the placeholder in. I don't see the real company name. In the DB appears the real company name.
My code in edit.tpl is:
Code: Select all
<div class="form-group">
<label class="col-sm-2 control-label" for="input-company"><?php echo $entry_company; ?> </label>
<div class="col-sm-10">
<input type="text" name="company" value="<?php echo $company; ?>" placeholder="<?php echo $entry_company; ?>" id="input-company" class="form-control" />
</div>
</div>
Thanks
Version 2.3.0.2