%IF $filter_options THEN
QUERY ProductVariantFilter(category_id=$category_id,filter_options=$filter_options,orderby=$orderby,order=$Data.order,getbuttonvalues='1',brand_id=$brand_id)
DO %>
<%DISPLAY
NEXTROW ENDQUERY
ELSE
/* enable all buttons */ %>
<%ENDIF%>