diff --git a/src/store/model/mightyape.ts b/src/store/model/mightyape.ts index 531c15a1e4..b77fecdb61 100644 --- a/src/store/model/mightyape.ts +++ b/src/store/model/mightyape.ts @@ -5,15 +5,13 @@ export const MightyApe: Store = { labels: { inStock: [ { - container: - 'body > div.page-container > div.page.listing.details.not-in-trolley.category.category-games.category-controllers > div > main > section.product-summary-top > div > div > div.product-summary > div.trolley-button-and-product-options > div.trolley-button-section > div.purchase-options > form > div > button', - text: ['Add to Trolley'], + container: 'div.status', + text: [' In stock at '], }, ], outOfStock: [ { - container: - 'body > div.page-container > div.page.listing.details.not-in-trolley.category.category-games.category-ps5-consoles > div > main > section.product-summary-top > div > div > div.product-summary.unavailable > div.pricing-stock > div > div.status', + container: 'div.status', text: [' Unavailable '], }, ], diff --git a/src/store/model/thewarehouse.ts b/src/store/model/thewarehouse.ts index 0c2a2c92dd..ccad3eeaa6 100644 --- a/src/store/model/thewarehouse.ts +++ b/src/store/model/thewarehouse.ts @@ -3,23 +3,11 @@ import {Store} from './store'; export const TheWarehouse: Store = { currency: '$', labels: { - inStock: { + outOfStock: { container: - '#maincontent > div.container.product-detail.product-wrapper.pb-xl.pb-lg-xxxl > div > div:nth-child(2) > div.col-12.col-md-6.col-lg-5 > div > div.product-buying-box > div.cart-and-ipay.mt-md > div > div > button > span', - text: ['Add to Cart', 'Find in Store'], + '#maincontent > div.container.product-detail.product-wrapper.pb-xl.pb-lg-xxxl > div > div:nth-child(2) > div.col-12.col-md-6.col-lg-5 > div > div.product-buying-box > div.cart-and-ipay.mt-md > div > div > button:disabled', + text: ['Add to Cart'], }, - outOfStock: [ - { - container: - '#maincontent > div.container.product-detail.product-wrapper.pb-xl.pb-lg-xxxl > div > div:nth-child(2) > div.col-12.col-md-6.col-lg-5 > div > div.product-buying-box > div.cart-and-ipay.mt-md > div > div > button > span', - text: ['Out of Stock'], - }, - { - container: - '#maincontent > div.container.product-detail.product-wrapper.pb-xl.pb-lg-xxxl > div > div:nth-child(2) > div.col-12.col-md-6.col-lg-5 > div > div.product-buying-box > div.cart-and-ipay.mt-md > div > div > div > div', - text: ['Out of Stock'], - }, - ], }, links: [ {