ilario Posted November 25, 2022 Share Posted November 25, 2022 hi I should retrieve the image of the first three color variants I'm editing the product-variants.tpl file class="color texture" style="background-image: url({$group_attribute.texture})" thanks Ilario Link to comment Share on other sites More sharing options...
ilario Posted November 26, 2022 Author Share Posted November 26, 2022 it was simple but hard to find {foreach from=$group.attributes key=id_attribute item=group_attribute name=sidebar_small} {if $smarty.foreach.sidebar_small.index == 3} {break} {/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