radge Posted March 22, 2018 Share Posted March 22, 2018 Buenas , tengo configurado este tpl para las direcciones de clientes , el archivo se llama "address-form.tpl" y tiene el siguiente contenido {block name="address_form"} <div class="js-address-form"> {include file='_partials/form-errors.tpl' errors=$errors['']} {block name="address_form_url"} <form method="POST" action="{url entity='address' params=['id_address' => $id_address]}" data-id-address="{$id_address}" data-refresh-url="{url entity='address' params=['ajax' => 1, 'action' => 'addressForm']}" > {/block} {block name="address_form_fields"} <section class="form-fields"> {block name='form_fields'} {foreach from=$formFields item="field"} {block name='form_field'} {form_field field=$field} {/block} {/foreach} {/block} </section> {/block} {block name="address_form_footer"} <footer class="form-footer clearfix"> <input type="hidden" name="submitAddress" value="1"> {block name='form_buttons'} <button class="btn btn-primary float-xs-left" type="submit" class="form-control-submit"> {l s='Save' d='Shop.Theme.Actions'} </button> {/block} </footer> {/block} </form> </div> {/block} Aquí el problema que tengo es que me coje todos los campos y me los renderiza en el orden que el quiere , por ejemplo me muestra primero el "alias" y luego el nombre y apellido , si lo que quiero es poner el "alias" al final con este archivo tpl que tengo como debo hacerlo? Gracias 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