<% IF $Shop.opt_product_ref THEN FETCH ProductRef IF $Numrows THEN%> <%IF ($Customer.login AND $opt_price_for_reg_user) OR (NOT $opt_price_for_reg_user) THEN%> <%IF $opt_show_stock THEN%> <%ENDIF%> <%ENDIF%> <%IF $Shop.payment_per_month THEN%> <%ENDIF%> <%FETCH PRICE_QUANTITY $PQ_ROWS=$PRICE_QUANTITY.Numrows IF $PQ_ROWS>1 THEN%> <%ELSE%> <%ENDIF%> <%IF $Shop.opt_variant_size THEN%> <%ENDIF%> <%DISPLAY IF $PQ_ROWS>1 THEN%><%ENDIF NEXTROW%> <%ENDFETCH%> style="display:none"<%ENDIF%>> <% ENDIF DISPLAY /* FETCH ProductRef */ IF $label THEN%> <%ENDIF FETCH Variant_Ref DISPLAY $ADD=1 IF $Shop.opt_variant_grouping AND $variant_grouping THEN%> <%ENDIF%> <%IF $CAMPAIGN THEN%> <%IF ($Customer.login AND $opt_price_for_reg_user) OR (NOT $opt_price_for_reg_user) THEN%> <%IF $opt_show_stock THEN $ADD=$ADD+1%> <%ENDIF%> <%IF $Shop.payment_per_month THEN%> <% /* partial payment */ POP $kp POP $this_kp /* Find and calculate lowest kreditor price */ IF $Price_Tax>$Shop.payment_per_month_min_sum THEN QUERY Payment() DO DISPLAY $this_kp=CALL PAYMENT_MONTHLY_ANNUITY('Payment',$Variant_Ref.Price_Ex,$Variant_Ref.Tax) IF $this_kp AND (NOT $kp OR $this_kp < $kp) THEN $kp = $this_kp ENDIF NEXTROW ENDQUERY ENDIF /* Display price data */ %> <%/* END kreditor partial payment */ ENDIF%> <%FETCH PRICE_QUANTITY DISPLAY%> <%IF $PRICE_EA > $Price THEN $ADD=$Rownum%> <%ELSIF NOT $PRICE_EA THEN%> <%ELSE%> <%ENDIF%> <%NEXTROW ENDFETCH IF NOT $PQ_ROWS THEN $ADD=1%> <%ENDIF%> <%ELSE%> <%IF $Shop.payment_per_month THEN%> <%ENDIF%> <%ENDIF%> <%IF $Shop.opt_variant_size THEN%> <%ENDIF%> <% IF ($Customer.login AND $opt_price_for_reg_user) OR (NOT $opt_price_for_reg_user) THEN $temp_col_span = 1+$opt_show_stock+$ADD+$Shop.payment_per_month ELSE $temp_col_span = 1+$ADD ENDIF %> <%IF ($Customer.login AND $opt_price_for_reg_user) OR (NOT $opt_price_for_reg_user) THEN%> <%ELSE%> <%ENDIF%> <%IF $PQ_ROWS AND $PQ_ROWS-$ADD THEN%> <%ENDIF%> <%IF $Shop.opt_variant_size THEN%> <%ENDIF%> <%ELSE%> <%IF ($Customer.login AND $opt_price_for_reg_user) OR (NOT $opt_price_for_reg_user) THEN%> <%IF $opt_show_stock THEN%> <%ENDIF%> <%IF $Shop.payment_per_month THEN%> <% /* partial payment */ POP $kp POP $this_kp /* Find and calculate lowest kreditor price */ IF $Price_Tax>$Shop.payment_per_month_min_sum THEN QUERY Payment() DO DISPLAY $this_kp=CALL PAYMENT_MONTHLY_ANNUITY('Payment',$Variant_Ref.Price_Ex,$Variant_Ref.Tax) IF $this_kp AND (NOT $kp OR $this_kp < $kp) THEN $kp = $this_kp ENDIF NEXTROW ENDQUERY ENDIF /* Display price data */ %> <%/* END kreditor partial payment */ ENDIF%> <%FETCH PRICE_QUANTITY DISPLAY%> <%NEXTROW ENDFETCH IF NOT $PQ_ROWS THEN%> <%ENDIF%> <%ELSE%> <%IF $Shop.payment_per_month THEN%> <%ENDIF%> <%ENDIF%> <%IF $Shop.opt_variant_size THEN%> <%ENDIF%> <%ENDIF NEXTROW ENDFETCH%> <%NEXTROW IF $Numrows THEN %>
[%ARTICLE_NUMBER_SHORT Artnr%]: [%APPELLATION Benämning%]:[%STORAGE Lager%]:[%S_DELBET Delbetalning%], <%$show_klarna_account=1 INCLUDE 'klarna_conditions.htm'%>[%QTYPRICE_ST Pris/st vid köp av%] <%IF $PRICE_QTY > 1 THEN%>$PRICE_QTY;$unit<%ENDIF%>[%PRICE Pris%]:$Shop.sizes_name:[%QUANTITY Antal%]:
$QTY;+
[%BAD_OPTS_CHOSEN -+- Inga artiklar motsvarar dina val -+-%]
$label
$#TextID <%IF $downloadfile_id THEN%><%ENDIF%> <%IF $Shop.opt_favorites THEN%><%IF $FAVORITE THEN%><%ELSE%><%ENDIF ENDIF%> <%IF $show_variant_pictures THEN%> <%IF $Shop.opt_articlepic AND $Variant.picture_id THEN%><%ENDIF%> <%IF $Shop.opt_articlepic AND $Variant_Ref.picture_id THEN%> <%PICTURE('CARTTHUMB',$Variant_Ref.picture_id)%> <%ELSE%> <%QUERY MyProductPicture(product_id=$Variant_Ref.product_id,xView="DEFAULT") DO DISPLAY $productref_picture_id=$MyProductPicture.picture_id NEXTROW ENDQUERY%> <%IF $Shop.opt_articlepic AND $productref_picture_id THEN%> <%PICTURE('CARTTHUMB',$productref_picture_id)%> <%$productref_picture_id=""%> <%ENDIF%> <%ENDIF%> <%ENDIF%> $Size <%IF $Shop.opt_wishlist AND $shop_show_wishlist THEN IF $num_wishlists>1 THEN%> ([%ADD_TO Lägg till i%] $[TR]wishlist_displayname ) <%ELSE%> ([%ADD_TO Lägg till i%] $[TR]wishlist_displayname ) <%ENDIF ENDIF%><% CALL EVAL($[TR]show_code) %><%IF $kp THEN%>[%FROM från%] $$kp / mnd.<%ENDIF%>$$PRICE_EA$$PRICE_EA$$Price_List<%IF $unit THEN%>/$unit<%ENDIF%> [%LOG_IN_FOR_PRICE Du måste vara inloggad för att se priser%]
<%FETCH Campaign DISPLAY%>$[noform]descr<%IF $Shop.opt_campaign AND NOT $hide_text THEN%> [%TOM_UNTIL t.o.m.%] $[d]ends<%ENDIF NEXTROW ENDFETCH%>$$Price<%IF $unit THEN%>/$unit<%ENDIF%>   <%IF $sizes THEN SELECT SPLIT($sizes) $size ELSE%>  <%ENDIF%>
$#TextID <%IF $downloadfile_id THEN%><%ENDIF%> <%IF $Shop.opt_favorites THEN%><%IF $FAVORITE THEN%><%ELSE%><%ENDIF ENDIF%> <%IF $show_variant_pictures THEN%> <%IF $Shop.opt_articlepic AND $Variant.picture_id THEN%><%ENDIF%> <%IF $Shop.opt_articlepic AND $Variant_Ref.picture_id THEN%> <%PICTURE('CARTTHUMB',$Variant_Ref.picture_id)%> <%ELSE%> <%QUERY MyProductPicture(product_id=$Variant_Ref.product_id,xView="DEFAULT") DO DISPLAY $productref_picture_id=$MyProductPicture.picture_id NEXTROW ENDQUERY%> <%IF $Shop.opt_articlepic AND $productref_picture_id THEN%> <%PICTURE('CARTTHUMB',$productref_picture_id)%> <%$productref_picture_id=""%> <%ENDIF%> <%ENDIF%> <%ENDIF%> $Size <%IF $Shop.opt_wishlist AND $shop_show_wishlist THEN IF $num_wishlists>1 THEN%> ([%ADD_TO Lägg till i%] $[TR]wishlist_displayname ) <%ELSE%> ([%ADD_TO Lägg till i%] $[TR]wishlist_displayname ) <%ENDIF ENDIF%> <% CALL EVAL($[TR]show_code) %><%IF $kp THEN%>[%FROM från%] $$kp / mnd.<%ENDIF%><%IF $PRICE_PQTY THEN%>$$PRICE_PQTY<%IF $unit THEN%>/$unit<%ENDIF ENDIF%>$$Price<%IF $unit THEN%>/$unit<%ENDIF%> [%LOG_IN_FOR_PRICE Du måste vara inloggad för att se priser%] <%IF $sizes THEN SELECT SPLIT($sizes) $size ELSE%>  <%ENDIF%>
<%ENDIF ENDFETCH /* FETCH ProductRef */ ENDIF /* opt_product_ref */ %>