Try:
{% load satchmo_category %}
{% category_tree %}

If you need more advanced features (such as extracting the first level
of the tree, second level etc.) you will probably have to create new
templatetags yourself (at least for version 0.7 and below). There is,
however, another post dealing with this aspect, but I don't know
wether this was ever implemented or not. See
http://groups.google.co.id/group/satchmo-users/browse_thread/thread/d40a7aac01ee48fa/1dfd72cfd66899d9?#1dfd72cfd66899d9

Best,
Troels

On Jan 8, 12:10 pm, phoenix24 <[email protected]> wrote:
> Hi,
>
> For my project i need the list of product categories created by the
> admin, can someone please guide me how this can be achieved ?
>
> I have trying the following code so far, which does not work
> ...
> {% load satchmo_thumbnail satchmo_category %}
>
> {% for parent in category.parents %}
>   <li><a href="{{ parent.get_absolute_url }}">
> {{ parent.translated_name }}</a></li>
> {% endfor %}
>
> I am using the satchmo-trunk for my project.
>
> Thanking in advance
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to