Get your own customer support community

Recent activity

Subscribe to this feed
  • question

    bashment replied on January 06, 2009 12:46 to the question "Sub collections?" in Shopify:

    bashment
    I have a menu which displays a list of collections. When a collection is clicked it goes to that collection and the nav expands to show a list of product types under that collection.

    If I then click on a product type it then shows all products for that product type, however the sub-nav list of product types disappears from my menu.

    I can do exactly the same menu but for product tags and the menu still disapears.

    Here is what I have done so far:

    Edit: sorry the code thing is playing up, I can't put it in properly. See the code at http://forums.shopify.com/categories/...
  • question

    bashment asked a question in Shopify on January 05, 2009 16:01:

    bashment
    Sub-nav for product types
    I am trying to create sub-nav for a shop but having some difficulty in getting it to do what I want.

    I have a menu which displays a list of collections. When a collection is clicked it goes to that collection and the nav expands to show a list of product types under that collection.
    If I then click on a product type it then shows all products in for that product type, however the sub-nav list of product types disappears from my menu.

    Here is what I have so far:



      {% for link in linklists.sub.links %}
      {% if link.title == collection.title %}
    • {{ link.title }}
      {% else %}
    • {{ link.title }}
      {% endif %}
      {% if link.title == collection.title %}
      {% for product in collection.products %}

      • {{ product.type | link_to_type }}


      {% endfor %}
      {% endif %}

    • {% endfor %}



    Edit: sorry the code thing is playing up, I can't put it in properly. See the code at http://forums.shopify.com/categories/...

    Anyone help?