{% extends 'qshop/shoppage.html' %} {% load i18n thumbnail %} {% load url from future %} {% block body_id %}cart_show_body{% endblock %} {% block shopcontent %}
{% if cart.total_products == 0 %}

{% trans 'Cart is empty' %}

{% else %}
{% csrf_token %} {% for item in cart %} {% endfor %}
{% trans "Product name" %} {% trans "SKU" %} {% trans "Variation" %} {% trans "Qty" %} {% trans "Discount" %} {% trans "Price" %} {% trans "Sum" %}
{% if item.product.image %} title {% endif %}

{{ item.product.name }}

{{ item.product.description|striptags|truncatewords:20|safe }}
{{ item.product.articul }} {% if item.product.has_variations %}{{ item.product.selected_variation.name }}{% endif %} {% trans "remove" %} {% if item.product.get_discount_percent %}{{ item.product.get_discount_percent }}%{% else %}{% endif %} {{ item.product.get_fprice }} {{ item.total_fprice }}
{% trans "Total price" %}: {{ cart.total_fprice }}
{% trans "Make Order" %}
{% endif %}
{% endblock shopcontent %}