Skip to content

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

Merge branch 'categories'

Michal Ociepka1157a776f01d
diff --cc product/templates/category/index.html
index 1e46c755e8,5af2c20d61..6323ae0953
--- a/product/templates/category/index.html
+++ b/product/templates/category/index.html
@@@ -1,16 -1,10 +1,17 @@@
{% extends "base.html" %}
{% load i18n %}
- {% block title %}{{ block.super }} » {% trans "Products" %}{% endblock %}
+ {% block title %}{{ block.super }} » {% trans "Category" %} {{ category }}{% endblock %}
+{% block breadcrumb %}
+ {{ block.super }}
+<li>
+ <a href="{% url 'product:index' %}">{% trans "Products" %}</a> <span class="divider">/</span>
+</li>
+{% endblock breadcrumb %}
+
{% block content %}
+ <h2>{% trans "Category" %} {{ category }}</h2>
<ul>
{% for product in products %}
<li><a href="{{ product.get_absolute_url }}">{{ product }}</a></li>