Jump to content

Show a specific feature


adgtc

Recommended Posts

Hello,

I need to modify the product-content.tpl code so that in a specific section it only shows me the feature that has the name "Color".

This is the current code, but I don't know how to do this. Is this possible to do? Can you help me?

  <div class="info-prod">
              {foreach from=$product.grouped_features item=feature}
                  <span class="name"><strong>{$feature.name}:</strong></span>
                  <span class="value">{$feature.value|escape:'htmlall'} &nbsp;&nbsp; </span>
              {/foreach}
</div>

Thanks :)

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...