Skip to content

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

Fix kwargs passed to variant-details url in fullfilment process

Pacu24a891a94103f
diff --git a/templates/dashboard/order/fulfillment.html b/templates/dashboard/order/fulfillment.html
index 901706e2fb..83ad85e7ee 100644
--- a/templates/dashboard/order/fulfillment.html
+++ b/templates/dashboard/order/fulfillment.html
@@ -77,7 +77,7 @@
<tr>
<td>
{% if line.variant %}
- <a href="{% url 'dashboard:variant-details' pk=line.variant.pk %}">{{ line.product_name }}</a>
+ <a href="{% url 'dashboard:variant-details' product_pk=line.variant.product.pk variant_pk=line.variant.pk %}">{{ line.product_name }}</a>
{% else %}
{{ line.product_name }}
{% endif %}