diff --git a/src/store/lookup.ts b/src/store/lookup.ts index e01712a..5b5a524 100644 --- a/src/store/lookup.ts +++ b/src/store/lookup.ts @@ -449,15 +449,6 @@ async function lookupCardInStock(store: Store, page: Page, link: Link) { } } - // Fixme: currently causing issues - // Do API inventory validation in realtime (no cache) if available - // if ( - // store.realTimeInventoryLookup !== undefined && - // link.itemNumber !== undefined - // ) { - // return store.realTimeInventoryLookup(link.itemNumber); - // } - if (store.labels.inStock) { const options = { ...baseOptions, diff --git a/src/store/model/amazon.ts b/src/store/model/amazon.ts index 0e5a5b8..03c5bb3 100644 --- a/src/store/model/amazon.ts +++ b/src/store/model/amazon.ts @@ -708,6 +708,12 @@ export const Amazon: Store = { brand: 'sony', cartUrl: 'https://www.amazon.com/gp/aws/cart/add.html?ASIN.1=B08FC5L3RG&Quantity.1=1', + labels: { + inStock: { + container: '#productTitle', + text: ['playstation 5 console'], + }, + }, model: 'ps5 console', series: 'sonyps5c', url: 'https://www.amazon.com/dp/B08FC5L3RG',