{% if not is_updateinfo %}
{# BEGIN CART TWIG TEMPLATE #} {% if not for_email %}
{% endif %} {% if with_controls %}
{% if supports_paypal_express %} {{ lang.cart_update_cart|raw }} {% else %} {{ lang.cart_update_cart|raw }} {% endif %} {% if items|length > 0 %} {% if supports_paypal_express %} -OR- {% endif %} {{ lang.cart_checkout|raw }} {% endif %}
{% endif %} {% if with_controls %} {{ html_messages|raw }} {% endif %} {% if for_email %} {% else %}
{% endif %} {% if not for_email %} {% endif %} {% if has_product_images %} {{ lang.cart_image|raw }} {% endif %} {{ lang.cart_item|raw }} {{ lang.cart_quantity|raw }} {{ lang.cart_price|raw }} {% if not for_email %} {% endif %} {{ lang.cart_subtotal|raw }}: {{ cart_sub_total }} {% if has_future_products %} {{ future_total_price }} {% endif %} {% for coupon in coupons %} {% if not coupon.is_applied %} {% else %} {% endif %} {{ coupon.name }} {% endfor %} {% if with_controls and has_eligible_coupons %} {{ lang.cart_add_coupon|raw }} {% endif %} {% if not with_controls %} {% if show_shipping_tbd %} {{ shipping_and_handling_label|raw }}: {% endif %} {% if show_shipping_tbd and hide_shipping_row %} {% else %} {% endif %} {{ shipping_and_handling_label|raw }}: {% if show_shipping_tbd %} {% else %} {% endif %} {% if has_future_products %} {% if show_future_shipping_and_handling %} {% else %} {% endif %} {{ lang.cart_future_subscriptions|raw }} {{ shipping_and_handling_label|raw }}: {% endif %} {% if has_taxes %} {% for tax in taxes %} {% if tax.show_tax %} {% else %} {% endif %} {{ tax.description|raw }}: {% endfor %} {% if show_tax_tbd %} {% if tax_total <= 0 %} {% else %} {% endif %} {% endif %} {% endif %} {% endif %} {% if not for_email %} {% endif %} {% for item in items %} {% if item.multiship > 0 %} {% if not for_email %} {% endif %} {% if not for_email %} {% endif %} {% endif %} {% if not for_email %} {% endif %} {% if item.item_number == items|length %} {% else %} {% endif %} {% if has_product_images %} {% endif %} {% if not for_email %} {% endif %} {% endfor %} {% if items|length == 0 %} {% if not for_email %} {% endif %} {% if not for_email %} {% endif %} {% endif %}
{{ lang.cart_caption|raw }}
{{ lang.cart_future_subscriptions|raw }}:
{{ coupon.amount }} {% if with_controls %} [x] {% endif %}
{{ lang.checkout_tbd|raw }}
{{ lang.checkout_tbd|raw }}{{ cart_total_shipping }}
{{ lang.cart_order_total|raw }}: {{ cart_order_total }}
{{ lang.cart_shipto|raw }}: {{ item.shipto }}
{% if item.image != '' %} {% if item.url != '' %} {% endif %} {% if item.url != '' %} {% endif %} {% endif %} {{ item.name }} {% if item.options|length > 0 or item.code != '' or item.category_code != 'DEFAULT' or item.weight != 0 or item.subscription_frequency != '' %}
    {% for option in item.options %}
  • {{ option.name }}: {{ option.value }}
  • {% endfor %} {% if item.code != '' %}
  • {{ lang.cart_code|raw }}: {{ item.code }}
  • {% endif %} {% if item.category_code != 'DEFAULT' %}
  • {{ lang.cart_category|raw }}: {{ item.category_code }}
  • {% endif %} {% if item.weight != 0 %}
  • {{ lang.cart_weight|raw }}: {{ item.weight }} {{ weight_uom }}
  • {% endif %} {% if item.subscription_frequency != '' %}
  • {{ lang.cart_subscription_details|raw }}
    • {{ lang.cart_frequency|raw }}: {{ item.subscription_frequency }}
    • {{ lang.cart_start_date|raw }}: {{ item.subscription_start_date }}
    • {{ lang.cart_next_date|raw }}: {{ item.subscription_next_transaction_date }}
    • {% if item.subscription_end_date != "0000-00-00" %}
    • {{ lang.cart_end_date|raw }}: {{ item.subscription_end_date }}
    • {% endif %}
  • {% endif %}
{% endif %} {% if with_controls %} [x] {% endif %}
{% if with_controls %} [x] {% else %} {{ item.quantity }} {% endif %} {{ item.price_total }} {% if item.quantity > 1 %} ({{ item.price_each }} {{ lang.cart_each|raw }}) {% endif %} {% if with_controls %} [x] {% endif %}
{{ lang.cart_empty|raw }}
{% if with_controls %}
{# note: this is a duplication of the cart controls above, but trying to create a block caused errors #} {% if supports_paypal_express %} {{ lang.cart_update_cart|raw }} {% else %} {{ lang.cart_update_cart|raw }} {% endif %} {% if items|length > 0 %} {% if supports_paypal_express %} -OR- {% endif %} {{ lang.cart_checkout|raw }} {% endif %}
{% endif %} {% if not for_email %}
{% endif %} {# END CART TWIG TEMPLATE #}
{% endif %} {# BEGIN RECEIPT TWIG TEMPLATE #}

Receipt

{% if is_updateinfo %}

{{ lang.checkout_updateinfo_completed|raw }}

{% endif %} {% if is_subscription_cancel %}

{{ lang.checkout_subscription_cancel_completed|raw }}

{% endif %} {% if has_downloadables %} {% endif %}

{{ lang.checkout_general_information|raw }}

{{ lang.checkout_general_information|raw }}
  1. {{ lang.checkout_processor_response|raw }}: {{ processor_response }}
  2. {{ lang.checkout_merchant|raw }}: {{ store_name|raw }}
  3. {{ lang.checkout_date|raw }}: {{ checkout_date }}
 
 

{{ lang.checkout_order_information|raw }}

{{ lang.checkout_order_information|raw }}
  1. {{ lang.checkout_order_id|raw }}: {{ order_id }}
  2. {% if purchase_order != '' %}
  3. {{ lang.checkout_purchase_order|raw }}: {{ purchase_order }}
  4. {% endif %} {% if payment_type == 'plastic' %}
  5. {{ lang.checkout_card_number|raw }}: {{ cc_number_masked }} ({{ cc_type }})
  6. {% endif %}
  7. {{ lang.checkout_subtotal|raw }}: {{ receipt_subtotal }}
  8. {% if has_future_products %}
  9. {{ lang.cart_future_subscriptions|raw }} {{ lang.checkout_subtotal|raw }}: {{ receipt_future_subscriptions }}
  10. {% endif %} {% if has_shipping_or_handling_cost %}
  11. {{ lang.checkout_shipping|raw }}: {{ receipt_shipping_cost }}
  12. {% if has_future_shipping_and_handling %}
  13. {{ lang.cart_future_subscriptions|raw }} {{ lang.checkout_shipping|raw }}: {{ receipt_future_shipping_cost }}
  14. {% endif %} {% endif %} {% if has_discount %}
  15. {{ lang.checkout_discount|raw }}: {{ receipt_discount }}
  16. {% endif %} {% if has_taxes %}
  17. {{ lang.checkout_tax|raw }}: {{ receipt_tax }}
  18. {% endif %}
  19. {{ lang.checkout_order_total|raw }}: {{ receipt_order_total }}
 
 

{{ lang.checkout_billing_information|raw }}

{{ lang.checkout_billing_information|raw }}
  1. {{ lang.checkout_first_name|raw }}: {{ first_name }}
  2. {{ lang.checkout_last_name|raw }}: {{ last_name }}
  3. {% if company != '' %}
  4. {{ lang.checkout_company|raw }}: {{ company }}
  5. {% endif %}
  6. {{ lang.checkout_address1|raw }}: {{ address1 }}
  7. {% if address2 != '' %}
  8. {{ lang.checkout_address2|raw }}: {{ address2 }}
  9. {% endif %}
  10. {{ lang.checkout_city|raw }}: {{ city }}
  11. {% if region_code != '' %}
  12. {{ region_label }}: {{ region_code }}
  13. {% endif %}
  14. {{ lang.checkout_postal_code|raw }}: {{ postal_code }}
  15. {{ lang.checkout_country|raw }}: {{ country_name }}
  16. {{ lang.checkout_email|raw }}: {{ email }}
  17. {% if phone != '' %}
  18. {{ lang.checkout_phone|raw }}: {{ phone }}
  19. {% endif %}
 
 
{% if has_multiship %} {% for multiship in multiship_data %}

{{ lang.checkout_shipto|raw }}{{ multiship.address_name }}

{{ lang.checkout_shipto|raw }}{{ multiship.address_name }}
  1. {{ lang.checkout_first_name|raw }}: {{ multiship.first_name }}
  2. {{ lang.checkout_last_name|raw }}: {{ multiship.last_name }}
  3. {% if multiship.company != '' %}
  4. {{ lang.checkout_company|raw }}: {{ multiship.company }}
  5. {% endif %}
  6. {{ lang.checkout_address1|raw }}: {{ multiship.address1 }}
  7. {% if multiship.address2 != '' %}
  8. {{ lang.checkout_address2|raw }}: {{ multiship.address2 }}
  9. {% endif %}
  10. {{ lang.checkout_city|raw }}: {{ multiship.city }}
  11. {% if multiship.region_code != '' %}
  12. {{ multiship.region_label }}: {{ multiship.region_code }}
  13. {% endif %}
  14. {{ lang.checkout_postal_code|raw }}: {{ multiship.postal_code }}
  15. {{ lang.checkout_country|raw }}: {{ multiship.country_name }}
  16. {% if multiship.phone != '' %}
  17. {{ lang.checkout_phone|raw }}: {{ multiship.phone }}
  18. {% endif %} {% for custom_field in multiship.custom_fields %} {% if not custom_field.is_hidden %}
  19. {{ custom_field.name }}: {{ custom_field.value }}
  20. {% endif %} {% endfor %} {% if multiship_data|length > 1 %}
  21. {{ lang.checkout_subtotal|raw }}: {{ multiship.sub_total }}
  22. {{ multiship.shipping_service_description }}: {{ multiship.shipping_total }}
  23. {% if has_taxes %}
  24. {{ lang.checkout_shipment_tax|raw }}: {{ multiship.tax_total }}
  25. {% endif %}
  26. {{ lang.checkout_shipment_total|raw }}: {{ multiship.total }}
  27. {% else %}
  28. {{ lang.checkout_shipping_method|raw }}: {{ multiship.shipping_service_description }}
  29. {% endif %}
 
 
{% endfor %} {% else %}

{{ lang.receipt_shipping_information|raw }}

{{ lang.receipt_shipping_information|raw }}
    {% if use_alternate_shipping_address %}
  1. {{ lang.checkout_first_name|raw }}: {{ shipping_first_name }}
  2. {{ lang.checkout_last_name|raw }}: {{ shipping_last_name }}
  3. {% if shipping_company != '' %}
  4. {{ lang.checkout_company|raw }}: {{ shipping_company }}
  5. {% endif %}
  6. {{ lang.checkout_address1|raw }}: {{ shipping_address1 }}
  7. {% if shipping_address2 != '' %}
  8. {{ lang.checkout_address2|raw }}: {{ shipping_address2 }}
  9. {% endif %}
  10. {{ lang.checkout_city|raw }}: {{ shipping_city }}
  11. {% if shipping_region_code != '' %}
  12. {{ shipping_region_label }}: {{ shipping_region_code }}
  13. {% endif %}
  14. {{ lang.checkout_postal_code|raw }}: {{ shipping_postal_code }}
  15. {{ lang.checkout_country|raw }}: {{ shipping_country_name }}
  16. {% if shipping_phone != '' %}
  17. {{ lang.checkout_phone|raw }}: {{ shipping_phone }}
  18. {% endif %} {% else %}
  19. {{ lang.checkout_first_name|raw }}: {{ first_name }}
  20. {{ lang.checkout_last_name|raw }}: {{ last_name }}
  21. {% if company != '' %}
  22. {{ lang.checkout_company|raw }}: {{ company }}
  23. {% endif %}
  24. {{ lang.checkout_address1|raw }}: {{ address1 }}
  25. {% if address2 != '' %}
  26. {{ lang.checkout_address2|raw }}: {{ address2 }}
  27. {% endif %}
  28. {{ lang.checkout_city|raw }}: {{ city }}
  29. {% if region_code != '' %}
  30. {{ region_label }}: {{ region_code }}
  31. {% endif %}
  32. {{ lang.checkout_postal_code|raw }}: {{ postal_code }}
  33. {{ lang.checkout_country|raw }}: {{ country_name }}
  34. {% if phone != '' %}
  35. {{ lang.checkout_phone|raw }}: {{ phone }}
  36. {% endif %} {% endif %}
 
 
{% endif %} {% if has_visible_custom_fields %}

{{ lang.checkout_additional_information|raw }}

{{ lang.checkout_additional_information|raw }}
    {% for custom_field in custom_fields %} {% if not custom_field.is_hidden %}
  1. {{ custom_field.name }}: {{ custom_field.value }}
  2. {% endif %} {% endfor %}
 
 
{% endif %}
 
{% if first_receipt_display %} ^^receipt_only^^ {% endif %} {# END RECEIPT TWIG TEMPLATE #}