Make product categories clickable.

This commit is contained in:
Víðir Valberg Guðmundsson 2017-07-08 17:48:10 +02:00
parent 0472769513
commit 2c5815982c

View file

@ -42,7 +42,9 @@ Shop | {{ block.super }}
<tr style="background-color: #cccccc"> <tr style="background-color: #cccccc">
<td colspan="2"> <td colspan="2">
<strong> <strong>
<a href="{% url 'shop:index' %}?category={{product.category.slug}}">
{{ product.category }} {{ product.category }}
</a>
</strong> </strong>
</td> </td>
</td> </td>