I'm working on www.roldskov.sp34k.dk as an online product catalogue. Right now I'm working on a sort of price filtering but I can't seem to figure out how to complete it.
If you look here you'll notice some price ranges on the left sidebar.
What functionality I'm trying to go for
What I wish to accomplish is to count how many products there is in a price range and if there is none, then it shouldn't be displayed.
If "alle priser" is selected I would loop through all products and check what pricerange they are in and put those in a list. After you looped through the products you can show the filters in the list.
Count products in price range (dictionary)
Hello fellow Umbraco'ers,
I'm working on www.roldskov.sp34k.dk as an online product catalogue. Right now I'm working on a sort of price filtering but I can't seem to figure out how to complete it.
If you look here you'll notice some price ranges on the left sidebar.
What functionality I'm trying to go for
What I wish to accomplish is to count how many products there is in a price range and if there is none, then it shouldn't be displayed.
Sidebare filtering is made like this
Products are being written out like this:
Hi Mike,
If "alle priser" is selected I would loop through all products and check what pricerange they are in and put those in a list. After you looped through the products you can show the filters in the list.
Frans
Hey Frans,
I apologize for the slow response. My exame has been taking most of my time.
Anyways! Could I trick you into showing an example if that isn't too complicated? I'm not sure how to achieve it tbh. I'm still learning :o)
Hi Mike
You could do something like this:
Hey Søren,
Thank you for the example, it was exactly what I needed to move forth!
Thank you once again! :)
is working on a reply...