Utils module of filter result
Methods
(inner) buildProductItemUrl(data, hasCollectionopt)
Build URL for the product item
Parameters:
Name | Type | Attributes | Default | Description | ||||||
---|---|---|---|---|---|---|---|---|---|---|
data |
Object | The product data
Properties
|
||||||||
hasCollection |
Boolean |
<optional> |
true | Set true if has collection in filter param |
(inner) buildToolbarLink(type, oldValue, newValue)
Build link for other sections like: pagination, limit, sort, display
Parameters:
Name | Type | Description |
---|---|---|
type |
String | page, limit, sort or display |
oldValue |
String | Nummer | the currently param |
newValue |
String | Number | the new param |
(inner) getSortingList()
Get the sorting list
(inner) isAdvancedPaginationType()
Return whether or not the pagination is advanced type
(inner) isDefaultPaginationType()
Return whether or not the pagination of a Product list page (Collection page, Type page, Search page, Tags page, ect) is default
(inner) isInfiniteLoadingPaginationType()
Return whether or not the pagination of a Product list page (Collection page, Type page, Search page, Tags page, ect) is infinite loading
(inner) isLoadMorePaginationType()
Return whether or not the pagination of a Product list page (Collection page, Type page, Search page, Tags page, ect) is load more
(inner) isLoadPreviousPagePaginationType()
Return whether or not the loading previout page is enabled
(inner) isNoFilterResult()
Return TRUE if the filter not found any product item
(inner) removeCollectionScopeParamFromUrl(link)
Remove collection_scope param from url
Parameters:
Name | Type | Description |
---|---|---|
link |
String | The link that needs to remove collection_scope |
(inner) removePageParamFromUrl(link)
Remove page param from URL
Parameters:
Name | Type | Description |
---|---|---|
link |
String | The link that needs to remove page param |