Hide Unfeatured Options ?

My web developer has made a feature for showing Stock, Validity etc on front-end. However my problem is i unable to hide unfeatured option like Validity, Most of my products doesn't have validity period, so i want to hide that option, Can someone please tell me how can i do that. Here is the script and screenshot given below, also my developer is on holiday.


```php



Status:
{assign var="product_amount" value="product_amount_`$obj_id`"}{$smarty.capture.$product_amount}

Validity:


{foreach from=$product.product_features item="var"}
{if $var.description == 'Validity'}
{$var.value}
{/if}
{/foreach} ```

[img]http://i53.tinypic.com/2dt5e2a.jpg[/img]

Any help ?

Bump Again, Any help ?