fyreflyX Posted June 19, 2011 Share Posted June 19, 2011 I have a few Features set up on the products that I need to list separately, outside of the "Data Sheet" tab in the product details page. Is there a way I can call only "Model" instead of all the features added to the product?{foreach from=$features item=feature}{$feature.name|escape:'htmlall':'UTF-8'}: {$feature.value|escape:'htmlall':'UTF-8'}{/foreach} Link to comment Share on other sites More sharing options...
shokinro Posted June 20, 2011 Share Posted June 20, 2011 if I understand your question correct, you want to only display Model instead of all features?you can put a if statement to embrace the entry so that only Model will appear. {foreach from=$features item=feature} {if $feature.name=='Model'}{$feature.name|escape:‘htmlall’:‘UTF-8’}: {$feature.value|escape:‘htmlall’:‘UTF-8’}{/if} {/foreach} Link to comment Share on other sites More sharing options...
fyreflyX Posted June 20, 2011 Author Share Posted June 20, 2011 That did the trick. Thank you! Link to comment Share on other sites More sharing options...
shokinro Posted June 20, 2011 Share Posted June 20, 2011 you are welcome, please mark the thread as solved if you think your problem is solved. Link to comment Share on other sites More sharing options...
Recommended Posts