jsballarini Posted October 17, 2019 Share Posted October 17, 2019 (edited) Hi to all... need some help: i have a product called: SCREW with 12 variations... in index, the product appears only "SCREW" I would like to show the name: "SCREW" + Default Variation in product name Product - Default Variation SCREW - 10 cm lenght Why? The price shown is the default variation, so I would like the product title in the index to be the default variation. /Catalog/_partials/miniature/product.tpl {foreach from=$groups key=id_attribute_group item=group} {foreach from=$group.attributes key=id_attribute item=group_attribute} {if !empty($group.attributes)} {if $group_attribute.selected} - {$group_attribute.name} {/if} {/if} {/foreach} {/foreach} added the code after {$product.name} inside {block name='product_name'} but not work. it worked in /Catalog/product.tpl, but not in /Catalog/_partials/miniature/product.tpl Thanks! Edited October 17, 2019 by jsballarini To be more specific (see edit history) 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