{assign var="class" value=""}
{if count($resProducts) lt  2000}
        {assign var="class" value="choosen"}
{/if}
{assign var="buyboxproductID" value=$buyboxproductID|default:''}
{form->select 
        class="{$class}" style="width:300px;"
        name="buyboxproductID" 
        value=$resSelectproduct.parentProductID|default:''  
        options=$resProducts 
        caption="->{$language.lblSelectProducts}" 
        validate="hiddenbuyboxStatus->isequal->Yes~*required" 
        error=$language.errProducts}
