Jump to content

Display feature value


Recommended Posts

Greetings to all

 

Is there anyway to display a single feature value of a product? I found a way to display it on a .tpl with this code:

 

{foreach from=$features item=feature}
 {if $feature.name|escape:'htmlall':'UTF-8' == 'muestra'}
	 {$feature.value|escape:'htmlall':'UTF-8'}
 {/if}
{/foreach}

 

But in my case i need for a php code. Anyone know how?

 

Thanks

Link to comment
Share on other sites

×
×
  • Create New...