From c9cda1e4e597c7103a32c32c9e5a79824ad44de5 Mon Sep 17 00:00:00 2001 From: wofnull Date: Mon, 11 Jan 2021 18:16:04 +0100 Subject: [PATCH] feat(galaxus): update selector, add out of stock check (#1607) --- src/store/model/galaxus.ts | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/src/store/model/galaxus.ts b/src/store/model/galaxus.ts index 4be8197..a360d34 100644 --- a/src/store/model/galaxus.ts +++ b/src/store/model/galaxus.ts @@ -8,9 +8,23 @@ export const Galaxus: Store = { text: ['In den Warenkorb'] }, maxPrice: { - container: '.productDetail .Z1ex', + container: '.productDetail .Z1et', euroFormat: true - } + }, + outOfStock: [ + { + container: '.availabilityText', + text: [ + 'aktuell nicht lieferbar und kein liefertermin vorhanden' + ] + }, + { + container: '.availabilityText', + text: [ + 'der liefertermin ist beim lieferanten in abklärung und wird aktualisiert.' + ] + } + ] }, links: [ {