{# /** * This file is the default packing slip template for Ubercart. * * Available variables: * - products: An array of product objects in the order, with the following * members: * - title: The product title. * - model: The product SKU. * - qty: The quantity ordered. * - total_price: The formatted total price for the quantity ordered. * - individual_price: If quantity is more than 1, the formatted product * price of a single item. * - details: Any extra details about the product, such as attributes. * - line_items: An array of line item arrays attached to the order, each with * the following keys: * - type: The type of line item (subtotal, shipping, etc.). * - title: The line item display title. * - formatted_amount: The formatted amount of the line item. * - shippable: TRUE if the order is shippable. * * Tokens: All site, store and order tokens are also available as * variables, such as site_logo, store_name and order_first_name. * * Display options: * - op: 'view', or 'print', depending on which variant of the invoice * is being rendered. * - business_header: TRUE if the invoice header should be displayed. * - shipping_method: TRUE if shipping information should be displayed. * - help_text: TRUE if the store help message should be displayed. * - email_text: TRUE if the "do not reply to this email" message should * be displayed. * - store_footer: TRUE if the store URL should be displayed. * - thank_you_message: TRUE if the 'thank you for your order' message * should be displayed. * * @see template_preprocess_uc_order() */ #}
{% if business_header %} {% endif %}
{{ site_logo }} {{ store_address }}
{{ store_phone }}
{{ 'Purchasing Information:'|t }}
{{ 'E-mail Address:'|t }} {{ order_email }}
{{ 'Billing Address:'|t }}
{{ billing_address }}

{{ 'Billing Phone:'|t }}
{{ billing_phone }}
{{ 'Shipping Address:'|t }}
{{ shipping_address }}

{{ 'Shipping Phone:'|t }}
{{ shipping_phone }}
{{ 'Payment Method:'|t }} {{ payment_method }}
{{ 'Order Summary:'|t }}
{{ 'Shipping Details:'|t }}
{{ 'Order #:'|t }} {{ order_link }}
{{ 'Carrier:'|t }} {{ carrier }}
{{ 'Tracking #:'|t }} {{ tracking_number }}


{{ 'Products on order:'|t }} {% for package in packages %} {% for product in package.products %} {% endfor %} {% endfor %}
{{ product.qty }} x {{ product.title }}
{{ 'SKU'|t }}: {{ product.model }}
{{ product.details }}