listingTypes
Listing types let you put a badge on a listing to highlight it — for example "Best", "Trending" or "Great Value". They are a way to merchandise your inventory and help buyers decide faster. The meaning of each type is entirely up to you; seats.io only renders the badge, it doesn't apply any recommendation logic of its own.
You define the available types with the listingTypes configuration parameter. It's a map of type name to a definition with an icon and a label:
listingTypes: {
premium: { icon: 'star', label: 'Premium' },
value: { icon: 'thumbs-up', label: 'Great Value' }
}
A listing refers to a type by its name, through its listingType property:
listings: [
{ id: 'vip', objects: ['A-1', 'A-2'], listingType: 'premium' }
]
Each listing type has:
icon: the name of a FontAwesome v4.7.0 icon. See the full list of available icons. The icon is shown on the listing's price marker.label: a short text, shown in the popover when a user hovers or taps a seat of the listing.