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.


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


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


Any help ?

Bump Again, Any help ?