<% $product_small_template='<>' $productsmallcounter=0 $xView='DEFAULT' QUERY ProductVisited(customer_id=$Customer.customer_id,ignore_product_id=$product_id) PAGE 1 PAGEROWS <> DO IF $Numrows THEN%>
<%IF 0!='<>' AND ''!='<>' THEN%>
[%PRODUCT_LAST_VIEWED_HEADER Dina senast besökta varor%]
<%ENDIF%> <%ENDIF DISPLAY IF $ProductVisited.product_id THEN QUERY SingleProductVariant(product_id=$ProductVisited.product_id) DO DISPLAY $Data.category_id=$SingleProductVariant.category_id /*to fix category_id in the product-small below*/%> <%INCLUDE 'rs/rs-product-small-<>.htm'%> <% POP $Data.category_id NEXTROW ENDQUERY ENDIF NEXTROW IF $Numrows>0 THEN%>
<%ENDIF ENDQUERY%>