From d789ea62bec45b38a21ea32f3663255c9d575ba4 Mon Sep 17 00:00:00 2001 From: Martin Sidorov Date: Sat, 11 Sep 2021 20:14:44 +0300 Subject: [PATCH 1/2] Add check for out of stock in qty selector --- src/components/ProductPage/ProductForm.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/ProductPage/ProductForm.js b/src/components/ProductPage/ProductForm.js index 2c6c0e63..9ddd50d6 100644 --- a/src/components/ProductPage/ProductForm.js +++ b/src/components/ProductPage/ProductForm.js @@ -184,6 +184,7 @@ class ProductForm extends Component { ))} + {isOutOfStock && ( + )} {hasVariants && (