<%IF NOT $INTERACTIVE AND $Cart.Rows < 1 THEN%> <%ELSE%> <%IF NOT $NOHEADER THEN%> <%IF NOT $NOTOP THEN%> <%ENDIF%> <%IF NOT $NOSTATUS THEN%> <%ENDIF%> <%ENDIF%> <%IF NOT $NOCONTENTS THEN%>
[%ORDER_NUMBER Ordernr%]: [%CLIENT_NUMBER Kundnr%]: [%ORDER_DATE Orderdatum%]:
[%NOT_ALLOT Ej tilldelat ännu%] $customer_no [%NOT_ALLOT Ej tilldelat ännu%]
[%DELIVERY_ADRESS Leveransadress%]: <%IF $Cart.shippinglocation_id THEN QUERY ShippingLocation(shippinglocation_id=$Cart.shippinglocation_id) DO DISPLAY%> $ShippingLocation.name
$ShippingLocation.address
<%IF $ShippingLocation.address2 THEN%> $ShippingLocation.address2
<%ENDIF%> <%IF $ShippingLocation.ZIP OR $ShippingLocation.city THEN%> $ShippingLocation.ZIP $ShippingLocation.city
<%ENDIF%> <%IF $ShippingLocation.province_state THEN%> $ShippingLocation.province_state
<%ENDIF%> <%IF $ShippingLocation.country THEN%> $ShippingLocation.country
<%ENDIF%>
<%IF $ShippingLocation.contact THEN%> [%CONTACT Kontakt%]: $ShippingLocation.contact
<%ENDIF%> <%IF $ShippingLocation.phone THEN%> [%TELEPHONE_SHORT Tel%]: $ShippingLocation.phone
<%ENDIF%> <%IF $ShippingLocation.email THEN%> [%EMAIL_NOTIFY E-post avisering%]: $ShippingLocation.email
<%ENDIF%> <%IF $ShippingLocation.doorcode THEN%> [%DOOR_CODE Portkod%]: $ShippingLocation.doorcode
<%ENDIF%> <%IF $ShippingLocation.sms THEN%> [%SMS_NOTIFY SMS avisering%]: $ShippingLocation.sms
<%ENDIF%> <%NEXTROW ENDQUERY ELSE%> <%IF $company THEN%> $company
<%ENDIF%> $surname $lastname
$address
$address2
$ZIP $city
$country <%ENDIF%> <%IF $Shop.opt_customer_shiploc AND $INTERACTIVE THEN%> <%ENDIF%>
[%ORDERER Beställare%]: <%IF $company THEN%> $company
<%ENDIF%> $surname $lastname
$address
$address2
$ZIP $city
$country

<%IF $phone THEN%> [%TELEPHONE_SHORT Tel%]: $phone
<%ENDIF%> <%IF $email THEN%> [%E-MAIL E-post%]: $email <%ENDIF%> <%IF $INTERACTIVE THEN%> <%ENDIF%>
<%QUERY Shipping(shipping_id=$Cart.shipping_id) DO DISPLAY%> <%NEXTROW ENDQUERY%> <%IF $cust_shipdate THEN%> <%ENDIF%>
[%ORDER_STATUS Orderstatus%]:
[%DELIVERY_WAY Leveranssätt%]: $name
[%YOUR_REFERENCE Er referens%]: $surname $lastname
[%BOOKING_NUMBER Ert beställningsnr%]: $cust_orderno
[%WANTED_DELIVERY_DAY Önskad leveransdag%]: $[d]cust_shipdate
<%QUERY Payment(payment_id=$Cart.payment_id) DO DISPLAY%> <%NEXTROW ENDQUERY%>
[%PAYMENT_WAY Betalsätt%]: $name
[%PAYMENT_STATUS Betalstatus%]: $charge_state
[%PAYMENT_REFERECES Betalningsreferens%]: $paid
[%OUR_REFERENCE Vår referens%]: $Shop.order_reference
<%QUERY CART() DO%> <%IF $opt_cart_show_prodimg THEN%> <%ENDIF%> <%IF $Shop.opt_variant_size THEN%> <%ENDIF%> <%IF $opt_show_stock THEN%> <%ENDIF%> <%IF ($Customer.login AND $opt_price_for_reg_user) OR (NOT $opt_price_for_reg_user) THEN%> <%ENDIF%> <%IF ($Customer.login AND $opt_price_for_reg_user) OR (NOT $opt_price_for_reg_user) THEN%> <%ENDIF%> <%IF $INTERACTIVE THEN%> <%ENDIF%> <%DISPLAY IF $cc_type == 'DISCOUNT' THEN $discount_items += '' + '' + '' + '' ELSE%> <%IF $opt_cart_show_prodimg THEN%> <%ENDIF%> <%IF $Shop.opt_variant_size THEN%> <%ENDIF%> <%IF $opt_show_stock THEN%> <%ENDIF%> <%IF ($Customer.login AND $opt_price_for_reg_user) OR (NOT $opt_price_for_reg_user) THEN%> <%ENDIF%> <%IF ($Customer.login AND $opt_price_for_reg_user) OR (NOT $opt_price_for_reg_user) THEN%> <%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 ENDQUERY%> <%ENDIF%> <%IF $CART.ERROR THEN%> <%ENDIF ENDIF /* cc_type == DISCOUNT */ NEXTROW%>
[%ARTICLE_NUMBER_SHORT Artnr%]:$Shop.sizes_name:[%APPELLATION Benämning%]:[%STORAGE Lager%]:[%QUANTITY Antal%]:[%PRICE Pris%]:[%AMOUNT Summa%]:[%REMOVE Ta bort%]:
'+$Size+':'+$$Price+'
<%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='CARTTHUMB' $xView = 'DEFAULT' QUERY MyProductPicture(product_id=$product_id, xView=$xView, xTransform=$xTransform) DO DISPLAY%> " alt="$Name" /> <%NEXTROW ENDQUERY%> <%ENDIF%> <%NEXTROW ENDQUERY ENDIF%> <%IF $cc_type == 'NORMAL' THEN%> $#TextID <%ELSE%> $#TextID <%ENDIF%> $[s$sizes]size <%IF $downloadfile_id THEN%><%ENDIF IF $cc_type=='COMMENT' THEN%>$comment<% ELSE %>$Size<%ENDIF%> <% CALL EVAL($[TR]show_code) %> <%IF $INTERACTIVE AND (NOT $immutable) THEN%> <%ELSE%> $qty <%ENDIF%> <%IF $cc_type != "COMMENT" THEN%>$$Price<%ENDIF%><%IF $cc_type != "COMMENT" THEN%>$$Sum_Price<%ENDIF%>
<%ENDIF DISPLAY%> $if_title: $value
<%NEXTROW IF $Numrows THEN%>
$CART.ERROR
class="non_javascript"<%ENDIF%>> <% ENDQUERY%> <%ENDIF%>
<%IF $INTERACTIVE THEN%> <%IF $Shop.show_cart_message THEN%> <%ENDIF%> <%IF $Shop.opt_campaign_codes AND $Shop.opt_campaigncodes_active THEN%> <%IF $ERR_CAMPAIGN_MSG THEN%>
$ERR_CAMPAIGN_MSG
<%ENDIF%> <%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%>
<%IF ($Customer.login AND $opt_price_for_reg_user) OR (NOT $opt_price_for_reg_user) THEN%> $discount_items <%IF NOT $NOSHIP THEN %> <%IF $Cart.ship_price != 0 THEN%> <%ENDIF%> <%IF $Cart.pay_price != 0 THEN%> <%ENDIF%> <%ELSE%> <%ENDIF%>
[%ORDER_AMOUNT Ordersumma%]: $$Cart.Price
<%QUERY Shipping(shipping_id=$shipping_id) DO DISPLAY%>$descr:<%NEXTROW ENDQUERY%> $$Cart.ship_price
<%QUERY Payment(payment_id=$payment_id) DO DISPLAY%>$descr:<%NEXTROW ENDQUERY%> $$Cart.pay_price
<%IF CALL SHOW_TAX_OR_NOT() THEN%>[%VAT_INFO Varav moms%]:<%ELSE%>[%VAT Moms%]:<%ENDIF%> $$Cart.tax
<%IF CALL SHOW_TAX_OR_NOT() THEN%>[%VAT_INFO Varav moms%]:<%ELSE%>[%VAT Moms%]:<%ENDIF%> $$Cart.Tax
<%ENDIF%>
<%IF $Cart.shipping_id THEN%> <%ENDIF%>
<%IF $opt_cart_hide_descr==1 THEN%>+ [%ADVANCED_CART Avancerad kassa%]<%ENDIF%> <%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%> <%IF $opt_cart_hide_descr==1 THEN%>   + [%SHOW_INFO Visa info%]<%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 INCLUDE 'masterpass.html' POP $CART_CONTENT_FILE ENDIF NEXTROW ENDQUERY%>