Make product categories clickable.
This commit is contained in:
parent
0472769513
commit
2c5815982c
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue