Jump to content

$product.attributes add image attribute


ilario

Recommended Posts

hi

Can you tell me which file to edit

I would like to add in $product.attributes

besides the name of the group and the name of the variant,

also link/url of the variant image (texture-color)

in file cart-detailed-product-line.tpl 

{foreach from=$product.attributes key="attribute" item="value"}
      <div class="product-line-info">
        <span class="label">{$attribute}:</span>
        <span class="value">{$value}</span>
        
        here  background = {$link-image}
        
      </div>
    {/foreach}

thank you very much

Ilario

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...