From eb314afda557369dd27266429ac991c47ecc6375 Mon Sep 17 00:00:00 2001 From: James Hinton <65028523+J-Hinton@users.noreply.github.com> Date: Mon, 16 Nov 2020 16:12:35 +0000 Subject: [PATCH] feat(playstation): add `outOfStock` label (#812) --- src/store/model/playstation.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/store/model/playstation.ts b/src/store/model/playstation.ts index 6ae57ef..62b38dd 100644 --- a/src/store/model/playstation.ts +++ b/src/store/model/playstation.ts @@ -4,8 +4,12 @@ import fetch from 'node-fetch'; export const PlayStation: Store = { labels: { inStock: { - container: '.productHero-info .button-placeholder', + container: '.productHero-info .add-to-cart:not(.hide)', text: ['Add'] + }, + outOfStock: { + container: '.productHero-info .out-stock-wrpr:not(.hide)', + text: ['Out of Stock'] } }, links: [