May I ask for some help… I am trying to show a flex grid populated dynamically from a collection - it will be up to 7 tiles of featured products from a product category (can be less than 7 if there are less products in that particular category). I would like to always have a “Show all” button as the last tile inside the same flex grid, linking to the category page. I can’t find a way to place a one instance of an element inside the dynamic list which is not part of the collection. Is that possible at all?
There is no native way to insert static element in a dynamic list.
However, the dynamic list is just a div with a class .w-dyn-list. This means that you can use JS to add html content inside this div, using .append() , which will automatically inherit the flex-elements of the parent. You need to be comfortable with using custom code and jquery to do this. Here is a link;