Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Template variable names improvements

Artur Smęt3767d6ccb125
diff --git a/templates/base.html b/templates/base.html
index ff528de1de..afe66cca39 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -65,8 +65,8 @@
<li class="divider"></li>
{% for item in request.cart %}
<li>
- <a href="{% url 'product:details' slug=item.product_name product_id=item.product_id %}">
- {{ item.product_name }}{% if item.quantity != 1 %} <em>×{{ item.quantity }}</em>{% endif %}
+ <a href="{% url 'product:details' slug=item.product product_id=item.data.product_id %}">
+ {{ item.product }}{% if item.quantity != 1 %} <em>×{{ item.quantity }}</em>{% endif %}
</a>
</li>
{% endfor %}