<%IF $Customer.login AND NOT $Customer.one_time_customer THEN%>

[%BOOKMARK Mina Favoriter%]

<% FETCH Favorite DISPLAY FETCH Product DISPLAY%> <%IF $opt_productinfofields THEN QUERY ProductInputField_inproduct(product_id=$product_id) DO DISPLAY IF $if_required THEN $hide_buy_button=1 ENDIF NEXTROW ENDQUERY ENDIF%>
[%ARTICLE_NUMBER_SHORT Artnr%]: $TextID <%IF $Favorite.cart_qty THEN%> [%ALREADY_IN_CART Redan i kundvagnen%]: $[f$decimals]Favorite.cart_qty; $unit <%ENDIF%>
<%IF $CAMPAIGN THEN%>
$$Price_sale ($$Price) <%FETCH Campaign DISPLAY%>$[noform]descr<%IF $Shop.opt_campaign THEN%> [%TOM_UNTIL t.o.m.%] $[d]ends<%ENDIF NEXTROW ENDFETCH%>
<%ELSE%>
$$Price
<%ENDIF%>
<% NEXTROW IF $Numrows>0 THEN%> <%IF $hide_buy_button OR $LOCKED THEN%>
<%ELSE%>
<%ENDIF%> <%POP $hide_buy_button%> <%ENDIF%>
<%ENDFETCH NEXTROW ENDFETCH %> <%IF $opt_show_stock >0 THEN%> <%ELSE%> <%ENDIF%>
<%ENDIF%>