From f2cb438d171cc819da16acd8c4a0dc9246dd9526 Mon Sep 17 00:00:00 2001 From: Bob Date: Mon, 4 Nov 2024 11:01:31 +0100 Subject: [PATCH 1/2] Disable checkout button and add notice if not in stock --- .../cart/partials/product/description.blade.php | 3 +++ .../cart/partials/sidebar/summary.blade.php | 17 +++++++++++------ 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/resources/views/cart/partials/product/description.blade.php b/resources/views/cart/partials/product/description.blade.php index fbdc99a9..18ba9394 100644 --- a/resources/views/cart/partials/product/description.blade.php +++ b/resources/views/cart/partials/product/description.blade.php @@ -9,6 +9,9 @@
@{{ option.label }}: @{{ option.values[0].label || option.values[0].value }}
+ + @lang('This product it out of stock, remove it to continue your order.') +