{$msg.account.my_order}
{$msg.cart.order_id}: {$history_order_data->orderNumber}

{** BILLING AND SHIPPING ADDRESS / CUSTOM FIELDS AND GIFT MESSAGE**}

{$msg.billing.billing_address}

{$history_user_data.fname|htmlspecialchars} {$history_user_data.lname|htmlspecialchars}
{if $history_user_data.company != ''}{$history_user_data.company|htmlspecialchars}
{/if} {$history_user_data.address1|htmlspecialchars}, {$history_user_data.address2|htmlspecialchars}
{$history_user_data.city|htmlspecialchars}, {$history_user_data.province|htmlspecialchars}
{$history_user_data.country_name|htmlspecialchars}, {$history_user_data.zip|htmlspecialchars}

{$msg.shipping.shipping_address}

{if !$history_order_data->shippingDigital} {$history_order_data->shippingName|htmlspecialchars}{if $history_order_data->shippingCompany != ''}, {$history_order_data->shippingCompany|htmlspecialchars}{/if} ({if $history_order_data->shippingAddressType=='Business'}{$msg.shipping.address_type_business}{else}{$msg.shipping.address_type_residential}{/if})
{$history_order_data->shippingAddress1|htmlspecialchars}, {$history_order_data->shippingAddress2|htmlspecialchars}
{$history_order_data->shippingCity|htmlspecialchars}, {$history_order_data->shippingState|htmlspecialchars}
{$history_order_data->shippingCountry|htmlspecialchars}, {$history_order_data->shippingZip|htmlspecialchars} {else} {$msg.shipping.no_shipping_informatio_available}
{$msg.shipping.digital_download} {/if} {if $GiftCardActive == "YES" && $history_order_data->giftMessage != ""}
{$msg.cart.gift_message}:
{$history_order_data->giftMessage|htmlspecialchars|nl2br}
{/if} {if $history_order_data->shippingTrackingNumber != "" && $history_order_data->shippingTrackingNumberType != ""}
{$history_order_data->shippingTrackingNumberType} {$msg.cart.shipping_tracking_number}:
{$history_order_data->shippingTrackingNumber}
{$history_order_data->shippingTrackingLink}
{/if} {if count($history_order_data->shippingTracking) > 0}
{$msg.cart.shipping_tracking_number}
{foreach from=$history_order_data->shippingTracking item="st"} {$st.carrier}: {$st.tracking}
{/foreach}
{/if}
{if $tracking_info}
 

{if $history_order_data->shippingTrackingNumberType == "UPS"} UPS Package Information
{if $tracking_info.scheduled_delivery_date != ""} {/if} {if $tracking_info.rescheduled_delivery_date != ""} {/if} {if $tracking_info.shipment_weight > 0} {/if} {if $tracking_info.package_weight > 0} {/if}
Shipping method : {$tracking_info.shipping_method|capitalize}
Pickup date : {$tracking_info.pickup_date}
Scheduled delivery date : {$tracking_info.scheduled_delivery_date} {$tracking_info.scheduled_delivery_time}
Rescheduled delivery date : {$tracking_info.rescheduled_delivery_date}
Last activity : {$tracking_info.status_type_description|capitalize}
Last activity location : {$tracking_info.activity_location|capitalize}
{$tracking_info.activity_location1}
Last activity date : {$tracking_info.activity_date} {$tracking_info.activity_time}
Shipment weight : {$tracking_info.shipment_weight} {$tracking_info.shipment_weight_unit}
Package weight : {$tracking_info.package_weight} {$tracking_info.package_weight_unit}
{/if} {if $history_order_data->shippingTrackingNumberType == "USPS"} USPS Tracking Information

{$tracking_info}
  {/if}

{/if}

{$msg.cart.order_content}

{foreach from=$history_order_data->lineItems item="order_item"} {/foreach} {if $history_order_data->bongoOrder} {if $history_order_data->bongoData} {else} {/if} {else} {if $history_order_data->discountAmount > 0} {/if} {if $history_order_data->promoDiscountType != "none" && $history_order_data->promoDiscountAmount > 0} {/if} {if $history_order_data->handlingSeparated && $history_order_data->handlingAmount > 0} {/if} {if $ShippingCalcEnabled == "YES"} {/if} {/if}
{$msg.product.product_name} {$msg.product.product_price} {$msg.product.product_quantity} {$msg.cart.total}
{$order_item.title|htmlspecialchars}
{$order_item.product_id|htmlspecialchars} {if $order_item.options != ""}
{$msg.cart.options}:
{$order_item.options|htmlspecialchars|nl2br} {/if} {if $order_item.digital_product == "Yes" && $history_order_data->paymentStatus == "Received" && $history_order_data->status == "Completed"}
{$msg.product.download_url} {/if}
{$order_item.product_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} {math equation="round(x,2)" x=$order_item.tax_rate format="%0.2f"}% {/if} {/if} {/if}
{$order_item.quantity} {$order_item.product_total|price}
{$msg.cart.bongo_subtotal}: {$history_order_data->bongoData.orderSubtotalAmount|price}
{$msg.cart.bongo_duty_amount}: {$history_order_data->bongoData.orderDutyAmount|price}
{$msg.cart.bongo_tax_amount} {$history_order_data->bongoData.orderTaxAmount|price}
{$msg.cart.bongo_shipping_amount}: {$history_order_data->bongoData.orderShippingAmount+$history_order_data->bongoData.orderShippingDomesticAmount|price}
{$msg.cart.bongo_insurance_amount}: {$history_order_data->bongoData.orderInsuranceAmount|price}
{$msg.cart.bongo_total_amount} ({$history_order_data->bongoData.orderCurrency}): {$history_order_data->bongoData.orderTotalAmount|price}
{$msg.cart.bongo_total_not_final}
{$msg.cart.subtotal_amount} {$history_order_data->subtotalAmount|price}
{$msg.cart.discount_amount} {if $history_order_data->discountType == "percent"} (-{$history_order_data->discountValue|smartround}%) {/if} -{$history_order_data->discountAmount|price}
{$msg.cart.promo_code_discount} {if $history_order_data->promoDiscountType == "percent"} (-{$history_order_data->promoDiscountValue|smartround}%) {/if} - {$history_order_data->promoDiscountAmount|price}
{$msg.opc.invoice_handling} {$history_order_data->handlingAmount|price}
{$msg.opc.invoice_shipping} {$history_order_data->shippingAmount|price}
{$msg.cart.tax_amount} {if $history_order_data->taxExempt == 'Yes'}
{$msg.cart.tax_exempt} {/if} {if $history_order_data->taxExempt == 'Partial'}
{$msg.cart.tax_exempt_partial} {/if}
{$history_order_data->taxAmount|price}
{$msg.cart.total_amount} {$history_order_data->totalAmount|price}