{include file="templates/emails/elements/top_html.html"}

Your order is complete.

SUMMARY:

Order #:

{$order_data.order_num}

Total: {foreach from=$orderView.lineItems key="orderViewLineItemKey" item="orderViewLineItem"} {if $orderViewLineItem.title eq "Total"} {$orderViewLineItem.amount} {/if} {/foreach}

BILLING ADDRESS:

{if $order_data.payment_gateway_id != "paypalec"} {$user_data.fname|htmlspecialchars} {$user_data.lname|htmlspecialchars}
{if $user_data.company != ""} {$user_data.company|htmlspecialchars}
{/if} {$user_data.address1|htmlspecialchars}{if $user_data.address2 != ""} {$user_data.address2|htmlspecialchars}{/if}
{$user_data.city|htmlspecialchars}, {if $user_data.province} {$user_data.province|htmlspecialchars} {/if} {$user_data.zip|htmlspecialchars}
{if $user_data.phone != ""} {$msg.billing.phone_number}: {$user_data.phone|htmlspecialchars}
{/if} {$msg.account.email_address}: {$user_data.email|htmlspecialchars}
{else} {$user_data.fname|htmlspecialchars} {$user_data.lname|htmlspecialchars},
{$msg.account.email_address}: {$user_data.email|htmlspecialchars}
{$msg.billing.paypal_ec_order} {/if}

ITEMS ORDERED QTY PRICE TOTAL
{*** PRODUCT LISTING ***} {foreach from=$shipments item="shipment"} {foreach from=$order_items item="order_item"} {if $shipment.id == $order_item.shipment_id} {*** PRODUCT NAME ***} {*** PRODUCT NAME ***} {*** QTY ***} {*** QTY ***} {*** PRICE ***} {**** TOTAL ***} {*** TOTAL ***}
{$order_item.title|htmlspecialchars} {if $order_item.options != ""}
{$order_item.options} {/if} {if $order_item.product_type == 'Digital'}
{$msg.product.download_url}: {$GlobalHttpUrl}/download.php?a={$order_data.oid}&b={$order_item.digital_product_key} {/if}
{$order_item.admin_quantity} {$order_item.admin_price|price} ${math equation="x * y" x=$order_item.admin_price y=$order_item.admin_quantity format="%.2f"}
{/if} {/foreach} {/foreach} {*** END PRODUCT LISTING ***} {*** SUBTOTALS AREA ***} {foreach from=$orderView.lineItems key="orderViewLineItemKey" item="orderViewLineItem"} {/foreach}
{if $orderViewLineItem.title eq "Shipping" and $order->shippingRequired}{foreach from=$shipments item="shipment"}{$shipment.shipping_cm_name|htmlspecialchars}:{/foreach}{else}{$orderViewLineItem.title}{/if} {if $orderViewLineItem.subtitle != ''}
{$orderViewLineItem.subtitle}{/if}
{$orderViewLineItem.amount}
{if $cf_invoice} {foreach from=$cf_invoice item="cf"} {if $cf.value_translated ne ""}
{$cf.field_name}: {$cf.value_translated}
{/if} {/foreach} {* {if $cf_invoice} {/if}*} {if $GiftCardActive == "YES" && $order->giftMessage != ""}

{$msg.cart.gift_message}:

{$order->giftMessage|htmlspecialchars|nl2br}

{/if} {/if} {*
{$msg.cart.order_details}
    {$msg.cart.order_id}: {$order_data.order_num}
 
{$msg.cart.billing_and_shipping_information}
 
{$msg.billing.billing_information}
{if $order_data.payment_gateway_id != "paypalec"} {$user_data.fname|htmlspecialchars} {$user_data.lname|htmlspecialchars},
{if $user_data.company != ""} {$user_data.company|htmlspecialchars},
{/if} {$user_data.address1|htmlspecialchars}{if $user_data.address2 != ""}, {$user_data.address2|htmlspecialchars}{/if}
{$user_data.city|htmlspecialchars}, {if $user_data.province} {$user_data.province|htmlspecialchars}, {/if} {$user_data.zip|htmlspecialchars}
{$user_data.country_name|htmlspecialchars}
{if $user_data.phone != ""} {$msg.billing.phone_number} : {$user_data.phone|htmlspecialchars}
{/if} {$msg.account.email_address}: {$user_data.email|htmlspecialchars}
{else} {$user_data.fname|htmlspecialchars} {$user_data.lname|htmlspecialchars},
{$msg.account.email_address}: {$user_data.email|htmlspecialchars}
{$msg.billing.paypal_ec_order} {/if}  
 
{$msg.shipping.shipping_information}
{if $order_data.shipping_required} {$order_data.shipping_name|htmlspecialchars},
{if $order_data.shipping_company != ""} {$order_data.shipping_company|htmlspecialchars},
{/if} {$order_data.shipping_address1|htmlspecialchars}{if $order_data.shipping_address2 != ""}, {$order_data.shipping_address2|htmlspecialchars},{/if}
{$order_data.shipping_city|htmlspecialchars}, {if $order_data.shipping_province} {$order_data.shipping_province|htmlspecialchars}, {/if} {$order_data.shipping_zip|htmlspecialchars}
{$order_data.shipping_country_name|htmlspecialchars}
{if $order_data.shipping_tracking_number != "" && $order_data.shipping_tracking_number_type != ""}

{$order_data.shipping_tracking_number_type} {$msg.cart.shipping_tracking_number}: {$order_data.shipping_tracking_number}
{if $order_data.shipping_tracking_number_type == "UPS"} {$msg.cart.click_to_track} {/if} {if $order_data.shipping_tracking_number_type == "USPS"} {$msg.cart.click_to_track} {/if} {if $order_data.shipping_tracking_number_type == "FedEx"} {$msg.cart.click_to_track} {/if} {if $order_data.shipping_tracking_number_type == "CanadaPost"} {$msg.cart.click_to_track} {/if}

{/if} {if $order_data.shipping_tracking}

{$msg.cart.shipping_tracking_number}
{foreach from=$order_data.shipping_tracking item="st"} {$st.carrier}: {$st.tracking}
{/foreach}

{/if} {else} {$msg.shipping.no_shipping_information_available}
{$msg.shipping.order_is_not_shippable} {/if}  
 
{$msg.cart.order_content}
{foreach from=$shipments item="shipment"} {foreach from=$order_items item="order_item"} {if $shipment.id == $order_item.shipment_id} {/if} {/foreach} {/foreach} {foreach from=$orderView.lineItems key="orderViewLineItemKey" item="orderViewLineItem"} {/foreach}
{$msg.product.product_id} {$msg.product.product_name} {$msg.product.product_price} {$msg.product.product_quantity} {$msg.cart.total}
{$msg.shipping.shipment} # {$shipment.num} - {$shipment.shipping_cm_name|htmlspecialchars} {if $shipment.free_shipping == "Yes"}FREE{else}{$shipment.shipping_amount|price}{/if}
{$order_item.product_id|htmlspecialchars} {$order_item.title|htmlspecialchars} {if $order_item.options != ""}
{$msg.cart.options}:
{$order_item.options} {/if} {if $order_item.product_type == 'Digital'}
{$msg.product.download_url}: {$GlobalHttpUrl}/download.php?a={$order_data.oid}&b={$order_item.digital_product_key} {/if}
{$order_item.admin_price|price} {if $order_item.is_taxable == "No"}
({if $order_item.tax_exempt == 1}{$msg.cart.item_tax_exempt}{else}{$msg.cart.not_taxable}{/if}) {else}
{if $order_item.tax_exempt == 1} {$msg.cart.item_tax_exempt} {else} {$msg.cart.tax_amount} : {if $order_item.tax_description != ""} {$order_item.tax_description} {else} {$order_item.tax_rate} {/if} {/if}
  {/if}
{$order_item.admin_quantity} {$order_item.admin_quantity*$order_item.admin_price|price}
{$orderViewLineItem.title} : {if $orderViewLineItem.subtitle != ''}
{$orderViewLineItem.subtitle}{/if}
{$orderViewLineItem.amount}
*} {include file="templates/emails/elements/bottom_html.html"}