{% if not is_updateinfo %} {% block cart %}
{# 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 #}
{% endblock %} {% endif %} {% block checkout %} {# BEGIN CHECKOUT TWIG TEMPLATE #}
{{ html_messages|raw }}
{{ csrf_hidden_input|raw }} {% if auth_token_is_valid %} {% endif %} {# preserve paypal express variables #} {% if token != '' and payer_id != '' %} {% endif %} {% if page_referer != '' and not is_updateinfo %} {{ lang.checkout_cancel_and_continue|raw }} {% endif %}

{{ lang.checkout_login_or_register|raw }}

{{ lang.checkout_login_or_register|raw }}
    {% if not customer_is_authenticated %}
  1. {% if not is_updateinfo and checkout_type != 'guest_only' and checkout_type != 'account_only' %}
  2. {% else %} {% if checkout_type == 'guest_only' %} {% else %} {% endif %} {% endif %} {% else %}
  3. {{ lang.checkout_email|raw }}* {{ email }} {% endif %}
 
 
{% if not is_subscription_cancel %}

{{ lang.checkout_billing_address|raw }}

{{ lang.checkout_billing_address|raw }}
{% if has_shippable_products and not has_multiship %}
{% endif %}  
 
{% if has_multiship %}
{% for multiship in multiship_data %}

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

{{ lang.checkout_shipto|raw }} {{ multiship.address_name }}
 
{% endfor %}
{% else %} {% endif %}
^^custom_fields^^

{{ lang.checkout_delivery_and_subtotal|raw }}

{{ lang.checkout_delivery_and_subtotal|raw }}
{% if has_live_rate_shippable_products and not has_multiship %}
{{ lang.checkout_update_shipping_pre_message|raw }}{{ lang.checkout_click_here|raw }}{{ lang.checkout_update_shipping_post_message|raw }}
{{ shipping_options_html|raw }}
{% endif %} {% if has_downloadables %}

{{ lang.checkout_downloadables_message|raw }}

{% endif %}
  1. {% if has_future_products %}
  2. {% endif %} {% if has_shipping_or_handling_cost %}
  3. {% if has_future_products %} {% endif %} {% endif %} {% if has_discount %}
  4. {% endif %}
 
 

{{ lang.checkout_payment_information|raw }}

{{ lang.checkout_payment_information|raw }}
    {% if supports_pay_with_plastic %}
  1. {% if has_multiple_payment_options %}
      {% else %} {% endif %}
    1. {% if has_multiple_payment_options %}
  2. {% endif %} {% endif %} {% if supports_paypal_express and not is_updateinfo %}
  3. {% if has_multiple_payment_options %} {% else %} {{ lang.checkout_pay_with_paypal|raw }} {% endif %}

    {{ paypal_description|raw }}

  4. {% endif %} {% if supports_purchase_order and not is_updateinfo %}
  5. {% if has_multiple_payment_options %}
      {% else %} {% endif %}
    1. {% if has_multiple_payment_options %}
  6. {% endif %} {% endif %}
  7. {{ lang.checkout_no_payment_needed|raw }}
 
 
{% else %} {# not a subscription cancel #}
{{ lang.checkout_subscription_cancel_message|raw }}
{% endif %}
 
{# END CHECKOUT TWIG TEMPLATE #} {% endblock %}