IkasProductList
data
IkasProduct[]Refer to the IkasProduct reference.
filters
IkasProductFilter[] | nullRefer to the IkasProductFilter reference.
Refer to the IkasProductListSortType reference.
limit
numberpageType
IkasThemeJsonPageTypeRefer to the IkasThemeJsonPageType reference.
page
numberminPage
numbercount
numberpageCount
numbersearchKeyword
stringisInitialized
booleanisFilterable
booleanisFiltered
boolean | undefinedisStatic
booleanisDiscounted
booleanisRecommended
booleanisLastViewed
booleanisRelatedProducts
booleanisSearch
booleanhasPrev
booleanhasNext
booleanisLoading
booleanfilterQueryParams
stringfilterCategories
IkasFilterCategory[] | undefinedRefer to the IkasFilterCategory reference.
hasAppliedfilter
boolean | undefinedisFeaturedSortEnabled
booleansetSortType
functionfunction setSortType(sortType: IkasProductListSortType): Promise<void>
sortType
:
IkasProductListSortType
onFilterCategoryClick
functionfunction onFilterCategoryClick(filterCategory: IkasFilterCategory, disableRoute = false): Promise<void>
filterCategory
:
IkasFilterCategory
disableRoute
:
boolean
toJSON
functionfunction toJSON(): { data: IkasProduct[]; type: IkasProductListType; pageType: IkasThemeJsonPageType; sort: IkasProductListSortType; limit: number; page: number; count: number; searchKeyword: string; initialized: boolean; minPage: number | null | undefined; filterBrandId: string | null | undefined; filterCategoryId: string | null | undefined; filterCategories: IkasFilterCategory[] | null | undefined; filters: IkasProductFilter[] | null | undefined; recommendFor: string | null | undefined; productListPropValue: IkasProductListPropValue; pageSpecificData: IkasBrand | IkasCategory | null | undefined;}
setVisibleInfiniteScrollPage
functionfunction setVisibleInfiniteScrollPage(page: number): void
page
:
number