<% $productsmallcounter=0 QUERY Bought_This_Also_Bought(product_id=$product_id) PAGE 1 PAGEROWS <> DO IF $Numrows>0 THEN%>
<%IF ''!='<>' AND 0!='<>' THEN%>

[%ALSO_BOUGHT Kunder som köpt denna vara har även köpt%]

<%ENDIF ENDIF DISPLAY $xView='DEFAULT' $Data.category_id=$Bought_This_Also_Bought.category_id /*to fix category_id in the product-small below*/%> <%INCLUDE 'product/product-small-<>.htm'%> <%POP $Data.category_id NEXTROW IF $Numrows>0 THEN%>
<% ENDIF ENDQUERY%>