Hi,
I’ve used the @Finsweet Combine CMS Attribute on a test site and it works great, but what I can’t control is the specific order of the Collection List items. I’ve run the Support Tool and it reports the Attribute is cofigured correctly.
I’ve added an order number field to each Collection, and setup the respective order number for all items within the collection. A sort order filter is set on both Collections.
When published, the Collection items are not fully ‘combined’ with respect to their sort order. They just appear as Collection 1 items, then Collection 2 items, rather than the sort order I set.
For example, I wanted 3 items from Collection 1, two from Collection 2, 1 from Collection 1 etc.
So my question is, does the Combine Attribute not honour sorting? Hope this makes sense!
Here is my site Read-Only: [LINK](https://preview.webflow.com/preview/multi-category-fixfire?utm_medium=preview_link&utm_source=designer&utm_content=multi-category-fixfire&preview=5259a1ecf1941ef8ffb4aecef907b1e6&workflow=preview)
(how to share your site Read-Only link)
Yes, kind of. By using CMS Sort from Finsweet. Ignore the design but the development includes both CMS Combine & CMS Sort. To show it is two collections combined using the attribute (c1) is from collection 1 and (c2) is from collection 2.
Initial state
After selecting the trigger (ie button)
1 Like
Thanks so much for taking the time to explain, this, much appreciated!
So when a user views the page, would the two combined collections already be sorted, without the need for a user to click a sort button / dropdown etc?
Hey @ConnectCreativeDes Long delay, you can simulate an auto click by adding this script to the footer of your page.
<script>
window.onload=function(){
document.querySelector(".YOURBUTTONCLASS").click();
};
</script>
1 Like
Hi @SunbearStudio many thanks for the reply! That code works great, but my Lists are still refusing to combine together. No matter what I do, I can’t get them to fully combine. I’ve followed the instructions HERE but no joy.
Here they are, set to sort via name, and they are not combining (I’ve given each collection a different colour so it’s easy to see what’s happening):
To simplify things I’m sorting by name at this stage rather than Order (which is what I’ll need to sort via when this is working!). Interestingly, if I clone the Finsweet example page and change theirs to sort via Order, it doesn’t work either.
My share link is here Webflow - Multi Category Fixfire
Does anyone have an update on this please? I’m tearing my hair out!