Jump to content

Show a specific feature


Recommended Posts


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>

Thanks :)

Share this post

Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More