Skip to main content

Collection Listing

You are reading an outdated document

Get the latest developer guides on Fynd Partners Help

In platform we can create collections of products basis on some criteria. The page is same as PLP i.e. product listing page. It comes with sorting methods and other filters.

QG11


ContexttypeDescription
is_logged_inBooleanUser is logged in user or not
favourite_idsArrayids of products that are added in the wishlist
compare_slugsArraypreviously compared product slugs
app_featuresObjectApplication specific configurations
pageObjectPagination object consist details like has_next, has_previous, `item_total which can be useful to display pagination```
product_countNumberTotal number of products that are live
itemsArrayFirst 12 products that are live
filtersArrayList of filters by which displayed products can be filter out
sort_onArrayOptions to sort products like Ratings, Discounts or price
pageErrorObjectIt will have error details so that you can handle errors gracefully on theme side
loadingBooleanWhile products are being fetched from backend you can indicate progress bar on theme side