Skip to content

Help: Configuration: Adding a store

bonny1992 edited this page May 12, 2021 · 14 revisions
import {Store} from './store';

export const AO: Store = {
	currency: '£',
	labels: {
		inStock: {
			container: 'a.addToBasket',
			text: ['add to basket']
		},
		maxPrice: {
			container: 'li[itemprop="price"]'
		}
	},
	links: [
		{
			brand: 'test:brand',
			model: 'test:model',
			series: 'test:series',
			url: 'https://ao.com/product/p5readsny83592-sony-playstation-game-white-79588-293.aspx'
		},
		{
			brand: 'sony',
			model: 'ps5 console',
			series: 'sonyps5c',
			url: 'https://ao.com/product/p5hehwsny39500-sony-playstation-playstation-5-console-white-79528-291.aspx'
        },
	],
	name: 'ao'
};