We have a shopify website which uses a customized theme that shows group filters on a collections page:
[login to view URL]
On the left side are the filter groups which are all based on product tags. Our group system is made so a product tag of "color_blue" becomes Group "Color" - Filter "Blue". Filter groups only show when an item in the collection uses that group.
We would like 2 of the filter groups to be dynamic filters.
Dynamic Filter #1
The filter would include 5 choices based on the price range of all of the items active in the collection. For example:
The 100 items active in the visible collection, the prices ranged from $5 to $50 the filter would have:
>$5 - $15
>$15 - $25
>$25 - $35
>$35 - $45
The 100 items active in the visible collection, the prices ranged from $1 to $10 the filter would have:
>$0 - $2
>$2 - $4
>$4 - $6
>$6 - $8
The price filter could also be a slider.
This filter needs to adjust so if the prices of the active collection ranged from $1 to $100, the 5 filters would adjust accordingly. This needs to be done automatically. We do not want to have to add a bunch of filters to every product for the different price ranges.
Dynamic Filter #2
We have a Product Tag group called "ages" with various ages. Many products have a single tag with their age recommendations. Each product tag in this group is in the format:
for a product with ages 2+
for a product with ages 4+
We need the filter for this group to work so that If a customer chooses "ages_6-and-up", the filter will include all products with the tags
This would be true for any age group they choose. Keep in mind, a product will only have a single age group tag so if a product has the tag "ages_10-and-up" and a customer chooses the filter "Ages 4 and up" it will include that product.
Lastly, We need the customer to be able to choose multiple filters from the same category. Shopify has this ability, but our theme was written to only allow one choice per category.
*** Please read these requirements. ***
Our current theme file for collections is attached below.