{include file="templates/emails/elements/top_html.html"}
{$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}, {$user_data.province|htmlspecialchars}, {$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_digital} {$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}, {$order_data.shipping_province|htmlspecialchars}, {$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} {else} {$msg.shipping.no_shipping_informatio_available}
{$msg.shipping.digital_download} {/if}  
 
{$msg.cart.order_content}
{foreach from=$order_items item="order_item"} {/foreach} {if $order_data.promo_discount_type != "none" && $order_data.promo_discount_amount> 0} {/if} {if $order_data.handling_separated && $order_data.handling_amount> 0} {/if} {if $ShippingCalcEnabled == "YES"} {/if} {** GIFT CERTIFICATE **} {if $gift_cert_amount> 0} {/if} {** GIFT CERTIFICATE **} {** GIFT CERTIFICATE **} {** GIFT CERTIFICATE **}
{$msg.product.product_id} {$msg.product.product_name} {$msg.product.product_price} {$msg.product.product_quantity} {$msg.cart.total}
{if $order_item.product_sub_id != ""}{$order_item.product_sub_id|htmlspecialchars}{else}{$order_item.product_id|htmlspecialchars}{/if} {$order_item.title|htmlspecialchars} {if $order_item.product_flavor_cart}
{section name=list loop=$order_item.product_flavor_cart} {if $order_item.product_flavor_cart[list].product_id==$order_item.product_id} {$order_item.product_flavor_cart[list].flavor_name} {/if} {/section} {/if} {if $order_item.options != ""}
{$msg.cart.options}:
{$order_item.options} {/if} {if $order_item.digital_product == "Yes" && $payment_status == "Received"}
Please read these important instructions before downloading your purchase.
Right mouse click on the below link and select Save Link As, then identify location you want to save and then Save. Or simply copy and paste the URL into the URL bar of your browser and hit enter. {/if} {if $order_item.digital_product == "Yes" && $payment_status == "Received"}
{$msg.product.download_url}:
{$GlobalHttpUrl}/download.php?a={$order->oid}&b={$order_item.digital_product_key}
{/if}
{if $payment_status == "Received"} {if $order_item.order_data_additional_downloads !=""} {foreach from=$order_item.order_data_additional_downloads item="order_data_additional_downloads"} {$GlobalHttpUrl}/download.php?c={$order->oid}&d={$order_data_additional_downloads.digital_product_key}

{/foreach} {/if} {/if}
{$order_item.admin_price|price} {if $order_item.is_taxable == "No"}
({$msg.cart.not_taxable}) {else}
{$msg.cart.tax_amount} : {if $order_item.tax_description != ""} {$order_item.tax_description} {else} {$order_item.tax_rate} {/if} {if $DisplayPricesWithTax=="YES"} - {$msg.cart.included_in_price}{/if}
  {/if}
{$order_item.admin_quantity} {$order_item.admin_quantity*$order_item.admin_price|price}
{$msg.cart.subtotal_amount} : {$order_data.subtotal_amount|price}
{$msg.cart.discount_amount} {** {if $order_data.discount_amount> 0 && $order_data.discount_type == "percent"} (-{$order_data.discount_amount|smartround}%) {/if} **} : {if $order_data.discount_amount> 0}-{/if} {$order_data.discount_amount|price}
{$msg.cart.promo_code_discount} {** {if $order_data.promo_discount_type == "percent"} (-{$order_data.promo_discount_value|smartround}%) {/if} **} : - {$order_data.promo_discount_amount|price}
{$order_data.handling_text|htmlspecialchars}{**{if $order_data.handling_taxable} ({$msg.cart.shipping_taxable} - {$order_data.handling_tax_description}){/if}**} : {$order_data.handling_amount|price}
{$ShippingLabel|htmlspecialchars} ({$order_data.shipping_cm_name|htmlspecialchars}{**{if $order_data.shipping_taxable}; {$msg.cart.shipping_taxable} - {$order_data.shipping_tax_description}{/if}**}) : {$order_data.shipping_amount|price}
Gift Certificate : -{$gift_cert_amount|price}
{$msg.cart.tax_amount} : {$order_data.tax_amount|price}
{$msg.cart.total_amount} : {$order_data.total_amount-$gift_cert_amount|price}
{include file="templates/emails/elements/bottom_html.html"}