diff --git a/resources/js/components/Product/AddToCart.vue b/resources/js/components/Product/AddToCart.vue index eca58d1c..a47c95f2 100644 --- a/resources/js/components/Product/AddToCart.vue +++ b/resources/js/components/Product/AddToCart.vue @@ -341,6 +341,10 @@ export default { } if (!option.in_stock) { + if (Object.keys(this.product.super_attributes).length === 1) { + disabledOptions['super_' + attribute.code].push(option[attribute.code]); + } + return }