Thank you for your order! Your order or part of your order has shipped. Please see below for the waybill numbers.

#set ( $customer = $order.customer ) #set ( $orderid = $order.getId() ) #set ( $shippingAddress = $order.getShippingAddress() ) #set ( $billingAddress = $order.getBillingAddress() ) #set ( $searcherManager = $store.getSearcherManager() ) #set ( $orderNumber = $order.orderNumber ) #set ( $shipments = $order.getShipments() ) #set ( $isFullyShipped = $order.isFullyShipped() ) #set ( $sSize = $shipments.size() ) #set ( $url = "$content.siteroot/ecommerce/views/myaccount/storeorders/view/index.html?id=$orderid")

Order Shipping History

Order #: $orderNumber

#if ( $sSize > 0)

Order Status: #if ($isFullyShipped == "false") Partially Shipped #else Shipped #end

Shipment Details per Product.

#else

No shipments for this order

#end #if ( $sSize > 0) #set($itemCounter = 0) #foreach ( $item in $order.getItems() ) #set( $itemCounter = $itemCounter + 1 ) #set( $productid = $item.getProduct().getId()) #set( $product = $store.getProductSearcher().searchById($productid) ) #foreach ( $shipment in $shipments ) #if ( $shipment.containsEntryForSku($product.get("manufacturersku")) ) #set( $entry = $shipment.getEntryForSku($product.get("manufacturersku")) ) #set( $waybill = $shipment.get("waybill") ) #end #set( $waybill = "" ) #end #end
Product ID Quantity Ordered Waybill Quantity
Shipped
$product.getName() $item.quantity
  $waybill $entry.getQuantity()
#foreach ( $shipmentEntry in $shipments ) #set( $shipCounter = $shipCounter + 1 ) #end

Shipment Details per Waybill.

#set( $types = $searcherManager.getList($catalogid ,"itemstatus") ) #set( $shipCounter = 0) #foreach ( $shipment in $shipments ) #set( $shipCounter = $shipCounter + 1 ) #set( $courier = $shipment.get("courier") ) #set( $waybill = $shipment.get("waybill") ) #set( $shipdate = $shipment.get("shipdate") ) #foreach ( $item in $order.getItems() ) #set( $productid = $item.getProduct().getId()) #set( $product = $store.getProductSearcher().searchById($productid) ) #if ( $shipment.containsEntryForSku($product.get("manufacturersku")) ) #set( $entry = $shipment.getEntryForSku($product.get("manufacturersku")) ) #end #end #set( $waybill = "" ) #set( $courier = "" ) #end
Courier Waybill Number Ship Date Product ID Quantity
Shipped
$!courier $waybill $shipdate  
  $product.getName() $entry.getQuantity()
#end