Published
March 22, 2024
Updated
March 22, 2024
Finsweet's CMS Sort attribute allows your end users to dynamically change the sorting of a collection list.
It also works in conjunction with FS CMS Load and FS CMS Filter, which is a beautiful and flexible combined toolset.
https://finsweet.com/attributes/cms-sort
ECommerce
Sort by Price
Webflow stores and emits product prices as a string, for example $ 150 USD
. Despite that, FS Sort can parse the string into a number, and sort it properly.
To do this, simply place and bind your price to a string element, and add your custom attributes, e.g.;
- Your CMS Sort field identifier, e.g.
fs-cmssort-field
=price
- The number type, so FS CMS Sort knows to parse it;
fs-cmssort-type
=number
FAQs
Answers to frequently asked questions.