SUMMARY:
|
Sold To:
|
{if $order->paymentGatewayId != "paypalec"}
{$billing_address.fname|htmlspecialchars} {$billing_address.lname|htmlspecialchars}
{else}
{$user_data.fname|htmlspecialchars} {$user_data.lname|htmlspecialchars}
{/if}
|
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}
|
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 ***}
{$order_item.title|htmlspecialchars}
{if $order_item.options != ""}
{$order_item.options}
{/if}
|
{*** PRODUCT NAME ***}
{*** QTY ***}
{$order_item.admin_quantity}
|
{*** QTY ***}
{*** PRICE ***}
{$order_item.admin_price|price}
|
{**** TOTAL ***}
${math equation="x * y" x=$order_item.admin_price y=$order_item.admin_quantity format="%.2f"}
|
{*** TOTAL ***}
|
{/if}
{/foreach}
{/foreach}
{*** END PRODUCT LISTING ***}
{*** SUBTOTALS AREA ***}
{foreach from=$orderView.lineItems key="orderViewLineItemKey" item="orderViewLineItem"}
{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}
|
{/foreach}
{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}
{foreach from=$cf_invoice item="cf"}
- {$cf.field_name} : {$cf.value_translated}
{/foreach}
{/if}*}
{if $GiftCardActive == "YES" && $order->giftMessage != ""}
{$msg.cart.gift_message}:
{$order->giftMessage|htmlspecialchars|nl2br}
{/if}
{/if} |