Debut theme dropdown has no functionality

New Member
3 0 0

Hello Shopify users!

I am getting started on shopify, and was wanting a basic dropdown menu to sort by tags for a product year. I have the year dropdown working great as per

But my code has 0 functionality whenever you actually click the dropdown. If I use the radio buttons from the same page, it works, but not dropdowns. I am using the debut theme if this helps.


Here is my code for a dropdown filter

  <div class="spacer clearfix filter">
      {% assign years = ',1988,1989,1990,1991,1992,1993,1994,1995,1996,1997,1998,1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018'| split: ","  %}
      <select class="coll-filter">
         {% for tag in years %}
         {% if current_tags contains tag %}
         <option value="{{ tag | handle }}" selected>{{ tag }}</option>
         {% else %}
         <option value="{{ tag | handle }}">{{ tag }}</option>
         {% endif %}
         {% endfor %}