tonojim Posted July 14, 2017 Share Posted July 14, 2017 Hola estoy usando Prestashop 1.7.1, necesitaría saber que hay que hacer para que aparezca el título de el atributo color cuando pasas el ratón por encima, mi plantilla no lo trae es de LeoTheme. He contactado con ellos y me cobran por hacer ese cambio, cuando pienso que es algo que debería traer por defecto. Me han comentado modificar el archivo product-variants.tpl Agradecería ayuda sobre esto. Saludos Link to comment Share on other sites More sharing options...
tonojim Posted July 14, 2017 Author Share Posted July 14, 2017 Solucionado: Añadiendo lo siguiente en themes/leo_paul_smith/templates/catalog/_partials/product-variants.tpl title="{$colors.$id_attribute.name}" En esta línea del código {elseif $group.group_type == 'color'} <ul id="group_{$id_attribute_group}"> {foreach from=$group.attributes key=id_attribute item=group_attribute} <li class="float-xs-left input-container"> <input class="input-color" type="radio" data-product-attribute="{$id_attribute_group}" name="group[{$id_attribute_group}]" title="{$colors.$id_attribute.name}" value="{$id_attribute}"{if $group_attribute.selected} checked="checked"{/if}> 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