{% extends "base.html" %} {% block content %} {{ object }} -- {{ object.cart }} {% if not billing_profile %}
Login
Adress
Shipping Address: {{ object.address.get_address}}
Cart items: {% for item in object.cart.products.all %}{{ item }}{% if not forloop.last %}, {% endif %}{% endfor %}
Cart total: {{ object.cart.total }}
Shipping Total: {{ object.shipping_total }}
Order Total: {{ object.total }}
{% endif %} {% endif %} {% endblock %}