Thanks for the help, I am a little bit confused by the way Satchmo
works with Django (I'm pretty new to both) so if this is the code
which then generates the sidebar as a <ul>:

<h3>{% trans "Shop Categories" %}</h3>
{% block sidebar-categories %}
        <div id="menu_container">
                {% if category.id %}
                    {% category_tree category.id %}
                {% else %}
                    {% if product.get_category %}
                        {% category_tree product.get_category.id %}
                    {% else %}
                        {% category_tree %}
                    {% endif %}
                {% endif %}
        </div>
How exactly do I use jquery with it?  Where is the <ul> coming from?


On Jul 14, 10:40 am, lzantal <[email protected]> wrote:
> Hi,
>
> On Jul 14, 10:11 am, RT <[email protected]> wrote:
>
> > I have searched a bit and haven't found anything about this.  Is there
> > any easy way to make subcategories collapse into their parent category
> > and only show when you click the parent (in the left navigation of the
> > simple store).  Has this been implemented or do I need to implement it
> > myself.  Thanks!
>
> I use jquery.toggle() to do that. Just wrap the subcategories in a
> div
> and bind toggle event to the parent which will show and hide the
> subcategories for you.
>
> lzantal

-- 
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