Re: [django-oscar] Display just a single category and its sub-categories in the dispaly block

264 views
Skip to first unread message

Valery Sorokin

unread,
Sep 8, 2015, 5:31:11 AM9/8/15
to django...@googlegroups.com
Hi, you should add two parameter in template django-oscar\src\oscar\templates\oscar\catalogue\browse.html as here:

{% block column_left %}
    {% category_tree depth=1 parent=category as tree_categories %}


On Sun, Sep 6, 2015 at 6:17 PM, femi ogundayo <coco...@gmail.com> wrote:
Does anyone know how to display just a single category and its sub-categories in the dispaly block on the left hand side of the page rather than returning all the categories and products.

Thanks

--
https://github.com/tangentlabs/django-oscar
http://django-oscar.readthedocs.org/en/latest/
https://twitter.com/django_oscar
---
You received this message because you are subscribed to the Google Groups "django-oscar" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-oscar...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-oscar.
To view this discussion on the web, visit https://groups.google.com/d/msgid/django-oscar/d286e9f6-7d6f-4995-9abe-40bb2a10051b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages