From 09317588c4578e9d53a211eed1bcf48eb4cdb5e7 Mon Sep 17 00:00:00 2001 From: Alexander Devitsky Date: Mon, 31 Jan 2022 16:56:49 +0200 Subject: [PATCH] fix: disable ATC button while new product configuration is being loaded --- packages/theme/pages/Product.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/theme/pages/Product.vue b/packages/theme/pages/Product.vue index 6f7edb1c4..568948766 100644 --- a/packages/theme/pages/Product.vue +++ b/packages/theme/pages/Product.vue @@ -140,7 +140,7 @@ v-else v-model="qty" v-e2e="'product_add-to-cart'" - :disabled="loading || !canAddToCart" + :disabled="loading || !canAddToCart || productLoading" class="product__add-to-cart" @click="addItem({ product, quantity: parseInt(qty) })" />