{if !empty($product_types) && !empty($type_id)}
{var_export($product_features,true)|escape}
{var_export($changed_features,true)|escape}
{var_export($features,true)|escape}
*}
{foreach $smarty.capture as $name => $template} {if strpos($name,'template-js')}
{/if} {/foreach}
{else if empty($product_types)}
[`To edit product custom features, add at least one product type on the Settings → Product types & features screen.`]
[`Assign this product to a particular product type to be able to edit product custom features.`]
[`Change type`]