Skip to content

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

Add context processor with collections

Mira Szewczyk2449b78f341b
diff --git a/saleor/settings.py b/saleor/settings.py
index de007baaf2..d7a948a6f8 100644
--- a/saleor/settings.py
+++ b/saleor/settings.py
@@ -100,6 +100,7 @@ context_processors = [
'saleor.core.context_processors.default_currency',
'saleor.core.context_processors.categories',
'saleor.cart.context_processors.cart_counter',
+ 'saleor.core.context_processors.collections',
'saleor.core.context_processors.search_enabled',
'saleor.site.context_processors.site',
'social_django.context_processors.backends',
diff --git a/templates/collection/index.html b/templates/collection/index.html
new file mode 100644
index 0000000000..f7e5884829
--- /dev/null
+++ b/templates/collection/index.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <title>$Title$</title>
+</head>
+<body>
+$END$
+</body>
+</html>
\ No newline at end of file