<%IF (($Customer.login AND $opt_price_for_reg_user) OR (NOT $opt_price_for_reg_user)) THEN%> <%IF $upselling_info THEN%>
<%QUERY ProductUpsellingTexts() DO DISPLAY%>
$[TR]message_header
<%IF $upselling_info=="UPSELLING_AUTOREMOVED" THEN%> $[TR]message_text_removed <%ENDIF%>
<%NEXTROW ENDQUERY%>
<%ENDIF%> <%IF $Request.file=="/cart.html" THEN IF $Cart.cart_id AND $Data.showupselling THEN%>
<%QUERY ProductUpsellingTexts() DO DISPLAY%>
$[TR]header:
<%NEXTROW ENDQUERY%>
<%QUERY ProductUpsellingTexts() DO DISPLAY%>

$[TR]text

<%NEXTROW ENDQUERY%>
<%QUERY CheckProductUpselling() DO IF $Numrows>0 THEN%>
<%ENDIF ENDQUERY%>
<%ENDIF ENDIF ENDIF%>