Code help please

Hi could anyone help me please.





I’m just stylizing the products.tpl and have an issue whereby only the first product shows global options. If i take out the {if} statements they all work but leave the DIV background in as expected.



Can anyone help?



```php

{if !$smarty.capture.$product_options}



{assign var=“product_options” value=“product_options_$obj_id”}

{$smarty.capture.$product_options}









{/if} ```