# Advanced Review Filtering - CMS Filter

**URL:** <https://forum.finsweet.com/t/advanced-review-filtering-cms-filter/2405>\
**Category:** General\
**Created:** [January 22, 2024, 12:11pm UTC](https://forum.finsweet.com/t/advanced-review-filtering-cms-filter/2405 "2024-01-22T12:11:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![JohnPFM](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/johnpfm/32/2829_2.png) [@JohnPFM](https://forum.finsweet.com/u/JohnPFM)\
**Post date:** [January 22, 2024, 12:11pm UTC](https://forum.finsweet.com/t/advanced-review-filtering-cms-filter/2405/1 "2024-01-22T12:11:56Z")

</div>

Hi there, we are building a robust filtering review system, and would like to dynamically update ratings when a collection list is filtered. For example if a subset of a product category is selected then the rating updates for the specific vendor based on the subset category selected. I understand this could be a bit advanced as the filtering system would need to first count the number of items, and then get the rating for each subset item to then output a dynamic number based on a rating formula. This might be possible with CMS Filter and some custom code, just wondering the best way to approach this.

Thanks!

---

<div class="post-metadata">

**Author:** ![Support-Luis](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/support-luis/32/53_2.png) [@Support-Luis](https://forum.finsweet.com/u/Support-Luis)\
**Post date:** [January 22, 2024, 12:23pm UTC](https://forum.finsweet.com/t/advanced-review-filtering-cms-filter/2405/2 "2024-01-22T12:23:21Z")

</div>

Hey @JohnPFM! You can the a look at the [CMS Filter API](https://finsweet.com/attributes/api/cms-filter), you can add a ton of functionality to the solution with some custom code.

Here is an example on how to retrieve the number of items per filter category and adding it to the filter elements.

- [CMS Filter, Results Count: Doesn't update with filters?](https://forum.finsweet.com/t/cms-filter-results-count-doesnt-update-with-filters/654)

If you need any help feel free to message me with a link and we can work something out 💪

---

<div class="post-metadata">

**Author:** ![JohnPFM](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/johnpfm/32/2829_2.png) [@JohnPFM](https://forum.finsweet.com/u/JohnPFM)\
**Post date:** [January 22, 2024, 12:29pm UTC](https://forum.finsweet.com/t/advanced-review-filtering-cms-filter/2405/3 "2024-01-22T12:29:23Z")

</div>

Excellent! Thanks @Support-Luis! Let me spend a few minutes with the CMS Filter API, to get a better understanding, and then will reach out if I need assistance. Appreciate it! Thanks for the quick reply also 💯.

---

<div class="post-metadata">

**Author:** ![JohnPFM](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/johnpfm/32/2829_2.png) [@JohnPFM](https://forum.finsweet.com/u/JohnPFM)\
**Post date:** [January 23, 2024, 4:39pm UTC](https://forum.finsweet.com/t/advanced-review-filtering-cms-filter/2405/4 "2024-01-23T16:39:40Z")

</div>

Hi @Support-Luis, I’m trying the chat function here to reach out directly but it doesn’t seem to be working.

---

<div class="post-metadata">

**Author:** ![Support-Luis](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/support-luis/32/53_2.png) [@Support-Luis](https://forum.finsweet.com/u/Support-Luis)\
**Post date:** [January 23, 2024, 4:51pm UTC](https://forum.finsweet.com/t/advanced-review-filtering-cms-filter/2405/5 "2024-01-23T16:51:08Z")

</div>

Hey @JohnPFM! you seem to have sent me a message, let me open a chat!
