taniacr Posted May 15, 2017 Share Posted May 15, 2017 I want the adresses to have labels, like "Name:"; "Address"; "Phone"; "VAT"... etc.. See the image. I found the tpl file in backoffice\themes\default\template\controllers\orders\helpers\view.tpl <div class="tab-pane " id="addressInvoice"> <!-- Invoice address --> <h4 class="visible-print">{l s='Invoice address'}</h4> {if $can_edit} <form class="form-horizontal hidden-print" method="post" action="{$link->getAdminLink('AdminOrders')|escape:'html':'UTF-8'}&vieworder&id_order={$order->id|intval}"> <div class="form-group"> <div class="col-lg-9"> <select name="id_address"> {foreach from=$customer_addresses item=address} <option value="{$address['id_address']}" {if $address['id_address'] == $order->id_address_invoice} selected="selected" {/if}> {$address['alias']} - {$address['address1']} {$address['postcode']} {$address['city']} {if !empty($address['state'])} {$address['state']} {/if}, {$address['country']} </option> {/foreach} </select> </div> <div class="col-lg-3"> <button class="btn btn-default" type="submit" name="submitAddressInvoice"><i class="icon-refresh"></i> {l s='Change'}</button> </div> </div> </form> {/if} <div class="well"> <div class="row"> <div class="col-sm-6"> <a class="btn btn-default pull-right" href="?tab=AdminAddresses&id_address={$addresses.invoice->id}&addaddress&realedit=1&id_order={$order->id}&address_type=2&back={$smarty.server.REQUEST_URI|urlencode}&token={getAdminToken tab='AdminAddresses'}"> <i class="icon-pencil"></i> {l s='Edit'} </a> {displayAddressDetail address=$addresses.invoice newLine='<br />'} {if $addresses.invoice->other} <hr />{$addresses.invoice->other}<br /> {/if} </div> <div class="col-sm-6 hidden-print"> <div id="map-invoice-canvas" style="height: 190px"></div> </div> </div> </div> </div> But now i'm stuck Any help? Link to comment Share on other sites More sharing options...
bbnicu Posted June 18, 2017 Share Posted June 18, 2017 Hi, did you solve this? I want the same thing. How did you do it? Link to comment Share on other sites More sharing options...
taniacr Posted June 19, 2017 Author Share Posted June 19, 2017 Haven't solved it yet Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now