diff --git a/resources/js/stores/useCart.js b/resources/js/stores/useCart.js index ea401960f..612eb024e 100644 --- a/resources/js/stores/useCart.js +++ b/resources/js/stores/useCart.js @@ -139,7 +139,7 @@ export const cart = computed({ ) value.items = value.items.map((cartItem) => { - cartItem.is_available = checkAvailability(item) + cartItem.is_available = checkAvailability(cartItem) cartItem.product.attribute_values = {} for (const key in mapping) {