Favorite lot listing page
- Name:
favoriteLotListTemplate - Url:
#/favorite-lots - Description: Favorite lots page template including filters and sorting
Preview

Default Template
<lot-list-and-filters>
<div class="ta-lot-section">
<div class="ta-lot-list-header-top">
<lot-keyword-search />
<jump-to-lot />
</div>
<hr class="mt-0">
<div class="ta-lot-list-header ">
<lot-list-per-page-select />
<div class="ta-lot-search-wrapper mb-3">
<sorting-dropdown/>
<lot-list-switch-view/>
<lot-list-filter-mobile-button/>
</div>
</div>
<favorite-lot-list-items />
</div>
</lot-list-and-filters>
Properties available in the template
lot - object
Lot object
lotDynamicFields - object
Dynamic fields of the lot
currentLocale - string
Main language of the Web App
fallbackLocale - string
Fallback language of the Web App
mainConfig - object
The configuration properties given to window.artisioWebApp
Sorting
The default template uses <sorting-dropdown />, so favourite lots support the same custom lot sorting options as the normal lot listing page.
Use lotSortOptions to customize the dropdown labels and values. Use complex preferences when one sorting option needs multiple ordered sort fields.
window.artisioWebApp = {
lotSortOptions: [
{
text: 'Live auctions first',
preferences: [
{ key: 'active_auctions_first', direction: 'asc' },
{ key: 'lot_no', direction: 'asc' }
]
}
]
}