eridamega Posted April 4, 2018 Share Posted April 4, 2018 Hola amigos Estoy tratando de hacer unas modificaciones en el archivo product-variants.tpl ubicado en /themes/classic/templates/catalog/_partials He estado leyendo por internet aca y aca pero nada, es difícil para mi, alguien podria por favor mostrarme un ejemplo o un tutorial para enteder Gracias El codigo original es <div class="clearfix product-variants-item"> {* *} <span class="control-label">{$group.name}</span> {if $group.group_type == 'select'} <select class="form-control form-control-select" id="group_{$id_attribute_group}" Y la edición seria <div class="clearfix product-variants-item"> {* ----línea editada----- *} <span class="control-label">{$group.name}{foreach from=$group.attributes key=id_attribute item=group_attribute}{if $group_attribute.selected}: {$group_attribute.name}{/if}{/foreach}</span> {if $group.group_type == 'select'} <select class="form-control form-control-select" id="group_{$id_attribute_group}" 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