<%QUERY CART() DO%>
[%CART_CONTENT Innehåll i kundvagnen%]: *
> <%IF $Numrows THEN%>
<%IF $opt_cart_show_prodimg THEN%>
[%PICTURE Bild%]:
<%ENDIF%>
[%APPELLATION Benämning%]:
<%IF $opt_show_stock THEN%>
[%STORAGE Lager%]:
<%ENDIF%>
[%QUANTITY Antal%]:
<%IF ($Customer.login AND $opt_price_for_reg_user) OR (NOT $opt_price_for_reg_user) THEN%>
[%PRICE Pris%]:
<%ENDIF%> <%IF $INTERACTIVE THEN%>
 
<%ENDIF%>
<%ELSE%>
[%CART_EMPTY Kundvagnen är tom%].
<%ENDIF%> <%$discount_items='' DISPLAY IF $cc_type == 'DISCOUNT' THEN $discount_items += '
' +$Size+': ' + ''+$$Price+'' + '
' ELSE%>
<%IF $opt_cart_show_prodimg THEN%>
[%PICTURE Bild%]:
<%IF $variant_id THEN QUERY Variant(variant_id=$variant_id, VARIANT_IGNORE_CART=1) DO DISPLAY%> <%IF $Variant.picture_id THEN%> " alt="$Name" /> <%ELSE%> <%$xTransform='RS_CARTIMG' $xView = 'DEFAULT' QUERY MyProductPicture(product_id=$product_id, xView=$xView, xTransform=$xTransform) DO DISPLAY%> " alt="<%IF $MyProductPicture.alt THEN%>$*alt<%ELSE%>$Name<%ENDIF%>" /> <%NEXTROW ENDQUERY%> <%ENDIF%> <%NEXTROW ENDQUERY ENDIF%>
<%ENDIF%>
[%APPELLATION Benämning%]:
<%IF $cc_type=='COMMENT' THEN%> $comment <%IF $downloadfile_id THEN%> <%ENDIF%> <%ELSE%> $Size <%IF $downloadfile_id THEN%> <%ENDIF%> <%ENDIF%> <%IF $cc_type == 'NORMAL' THEN%> [%ARTICLE_NUMBER_SHORT Artnr%]: $#TextID <%ELSE%> [%ARTICLE_NUMBER_SHORT Artnr%]: $#TextID <%ENDIF%> <%IF $Shop.opt_variant_size THEN%> <%IF $size THEN%>$Shop.sizes_name:<%ENDIF%> $[s$sizes]size <%ENDIF%>
<%IF $opt_show_stock THEN%>
[%STORAGE Lager%]:
<% CALL EVAL($[TR]show_code) %>
<%ENDIF%>
[%QUANTITY Antal%]:
<%IF $INTERACTIVE AND (NOT $immutable) THEN%> <%ELSE%> $qty <%ENDIF%>
<%IF ($Customer.login AND $opt_price_for_reg_user) OR (NOT $opt_price_for_reg_user) THEN%>
[%PRICE Pris%]:
$qty x <%IF $cc_type != "COMMENT" THEN%>$$Price<%ENDIF%> <%IF $cc_type != "COMMENT" THEN%>[%AMOUNT Summa%]: $$Sum_Price<%ENDIF%>
<%ENDIF%> <%IF $INTERACTIVE AND (NOT $immutable OR $cc_type=="UPSELLING") THEN%>
 
<%ENDIF%>
<%IF $Shop.opt_productinfofields THEN QUERY CartInputField(cc_id=$cc_id) DO IF $Numrows THEN%>
<%ENDIF DISPLAY%>
$if_title: $value
<%NEXTROW IF $Numrows THEN%>
<%ENDIF ENDQUERY%> <%ENDIF%> <%IF $cc_type != 'DISCOUNT' THEN%>
<%ENDIF%> <%IF $CART.ERROR_ROW THEN%>
$CART.ERROR_ROW
<%ENDIF ENDIF /* cc_type == DISCOUNT */ NEXTROW%>
<% IF $Cart.message OR ($INTERACTIVE AND ( $Shop.show_cart_message OR ($Shop.opt_customer_shiploc AND ($Shop.show_cart_custorderno OR $Shop.show_cart_custshipdate OR $Shop.show_cart_custshiptogether)) ) ) THEN $advanced_cart_enabled=1 %> <% IF $opt_cart_hide_descr==1 THEN%> <%ELSE %> <%ENDIF%> <%ENDIF%> <%IF $INTERACTIVE THEN%> <%IF $Shop.opt_campaign_codes AND $Shop.opt_campaigncodes_active THEN%>
style="display:none;"<%ENDIF%>>

[%CAMPAIGN_CODE_DESCR Har du en kampanjkod eller ett presentkort?%]

<%IF $ERR_CAMPAIGN_MSG THEN%>
$ERR_CAMPAIGN_MSG
<%ENDIF%>
<%ENDIF%> <%ENDIF%> <%IF $advanced_cart_enabled OR ($opt_cart_hide_descr!=1 AND ($show_cart_custshiptogether==1 OR $show_cart_custshipdate==1 OR $show_cart_custorderno==1 OR $show_cart_message==1)) THEN%>
<%IF $opt_cart_hide_descr==1 THEN%>
[%ADVANCED_CART Avancerad kassa%]:
<%ENDIF%>
<%IF $INTERACTIVE THEN%> <%IF $Shop.show_cart_message THEN%>
<%ENDIF%> <%IF $Shop.opt_customer_shiploc THEN%> <%IF $Shop.show_cart_custorderno THEN%>
<%ENDIF%> <%IF $Shop.show_cart_custshipdate THEN%>
<%ENDIF%> <%IF $Shop.show_cart_custshiptogether THEN%>
onclick="ajax_post_content_form($(this));">[%SHIP_IN_PARTS Delleverans OK%].
onclick="ajax_post_content_form($(this));">[%SHIP_ALL_AT_ONCE Skicka allt på en gång.%]
<%ENDIF%> <%ENDIF%>
<%ELSE%> <%IF $Cart.message THEN%>
[%MESSAGE_TO_THE_SHOP Meddelande till butiken%]:
$Cart.message <%ENDIF%> <%ENDIF%>
<%ENDIF POP $advanced_cart_enabled%>
<%IF ($Customer.login AND $opt_price_for_reg_user) OR (NOT $opt_price_for_reg_user) THEN%>
$discount_items
[%ORDER_AMOUNT Ordersumma%]: $$Cart.Price
<%IF NOT $NOSHIP THEN %> <%IF $Cart.ship_price != 0 THEN%>
<%QUERY Shipping(shipping_id=$shipping_id) DO DISPLAY%>$descr: <%NEXTROW ENDQUERY%> $$Cart.ship_price
<%ENDIF%> <%IF $Cart.pay_price != 0 THEN%>
<%QUERY Payment(payment_id=$payment_id) DO DISPLAY%>$descr: <%NEXTROW ENDQUERY%> $$Cart.pay_price
<%ENDIF%>
<%IF CALL SHOW_TAX_OR_NOT() THEN%>[%VAT_INFO Varav moms%]:<%ELSE%>[%VAT Moms%]: <%ENDIF%> $$Cart.tax
<%ELSE%>
<%IF CALL SHOW_TAX_OR_NOT() THEN%>[%VAT_INFO Varav moms%]:<%ELSE%>[%VAT Moms%]: <%ENDIF%> $$Cart.Tax
<%ENDIF%>
<%ENDIF%> <%IF $Cart.shipping_id THEN%> <%IF CALL SHOW_TAX_OR_NOT() THEN%>
[%TOTAL_SUM_INCL Totalt inklusive frakt och moms%]: $$Cart.sum
<%ELSE%>
[%TOTAL_SUM_EXCL Totalt inkl frakt%]: $$Cart.sum_ex
<%ENDIF%> <%ENDIF%>
<%QUERY Choose_Payment(shipping_id=$shipping_id) DO DISPLAY IF ($charge_method=='PAYEXPIM' AND $is_active AND NOT $orderno AND $chargem_param1=='CREDITCARD') AND $shipping_id THEN $CART_CONTENT_FILE=1 PRINT '' INCLUDE 'rs/rs-masterpass.htm' POP $CART_CONTENT_FILE ENDIF NEXTROW ENDQUERY%>
<% ENDQUERY /*QUERY Cart*/%>