What's New
You must be logged in to reply to this topic.
Hi,
I modified the /themes/panda/templates/catalog/_partials/product-variants.tpl file to hide unaviable attribute, please make the file backup.
{assign var=is_out_stock value=0}
{foreach $combinations as $bv}
{if count(array_intersect($selected_id_attribute, $bv['attributes'])) > 0 && in_array($id_attribute, $bv['attributes']) && $bv['quantity'] <=0}
{assign var=is_out_stock value=1}
{break}
{/if}
{/foreach}
{if $is_out_stock == 1}
{continue}
{/if}
Best regards.
You must be logged in to reply to this topic.