SUMMARY:
{if $order->paymentGatewayId != "paypalec"} {$billing_address.fname|htmlspecialchars} {$billing_address.lname|htmlspecialchars} {else} {$user_data.fname|htmlspecialchars} {$user_data.lname|htmlspecialchars} {/if}
{if $billing_address.company != ""} {$billing_address.company|htmlspecialchars}
{/if} {$billing_address.address1|htmlspecialchars}
{if $billing_address.address2 != ""}
{$billing_address.address2|htmlspecialchars} {/if} {$billing_address.city|htmlspecialchars}, {if $billing_address.province} {$billing_address.province|htmlspecialchars}{/if} {$billing_address.zip|htmlspecialchars}
{$billing_address.country_name|htmlspecialchars}

Order #:

{$order->order_num}

Date:

{$order->status_date_formatted|date_format:"%D"}

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

SHIPPING ADDRESS:

{$shipping_address.name|htmlspecialchars}
{$shipping_address.address1|htmlspecialchars} {if $shipping_address.address2 != ""}
{$shipping_address.address2|htmlspecialchars}{/if}
{$shipping_address.city|htmlspecialchars}, {$shipping_address.province|htmlspecialchars} {$shipping_address.zip|htmlspecialchars}
{$shipping_address.country|htmlspecialchars} {if $billing_address.phone != ""}
Phone: {$billing_address.phone|htmlspecialchars}
{/if} Email: {$user_data.email|htmlspecialchars}

{else}
This order does not contain shippable items.
{/if}
ID 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 ID ***} {*** PRODUCT NAME ***} {*** PRODUCT NAME ***} {*** QTY ***} {*** QTY ***} {*** PRICE ***} {**** TOTAL ***} {*** TOTAL ***}
{$order_item.product_id|htmlspecialchars} {$order_item.title|htmlspecialchars} {if $order_item.options != ""}
{$order_item.options} {/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} {*START SAFETYNET MODIFICATIONS*} {if $collections_books} {/if} {*END SAFETYNET MODIFICATIONS*}
{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}
Individual Books {$collections_books.books.total|price} ({$collections_books.books.count})
Collections {$collections_books.collections.total|price} ({$collections_books.collections.count})
{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.payment}
{$payment_method_name|htmlspecialchars}
{$payment_method_thankyou}