{% extends "vendor/base.html" %} {% load i18n %} {% block vendor_content %}

{% trans 'Shopping Cart' %}

{% for item in order_items %}
{{item.name}}
${{ item.total }}
{{item.offer.description}}

{{ item.offer.get_terms_display }}

{% csrf_token %}
{% empty %}

{% trans 'Your shopping cart is empty.' %}

{% endfor %}
{% if order_items %}

{% trans 'Summary' %}

{% if order_items and not user.is_anonymous %} {% trans 'Proceed to Checkout' %} {% else %} {% trans 'Proceed to Checkout' %} {% endif %} {% if order_items and user.is_anonymous %}

{% trans 'Log in' %} {% trans 'or' %} {% trans 'Sign up' %} {% trans 'to checkout' %}

{% endif %} {% else %} {% endif %} {% if promo_code %}
{% endif %}
{% endblock %}