{% load tpl_tags %} {% for order in orders %}

订单日期:{{ order.add_date }}

{% for goods in order.happyshopordersku_set.all %}

{{ goods.sku.spu.title }}

规格: {{ goods.sku.options.all|join:"," }}

数量: {{ goods.count }} 单价: {{ goods.price }}

{% if not goods.is_commented and order.pay_status == 4 %} {% comment %} 去评价 {% endcomment %} 去评价 {% elif goods.is_commented %} {% endif %}
{% comment %} {% include 'happy_shop/comment_modal.html' %} {% endcomment %} {% endfor %}
{% if order.pay_status == 1 %} 支付宝支付 {% elif order.pay_status == 3 %} 确认收货 {% comment %} {% elif order.pay_status == 5 %} {% endcomment %} {% endif %} 查看详情
{% endfor %}