@{{ item.product.name }}
@@ -9,9 +8,7 @@
@{{ option.label }}: @{{ option.values[0].label || option.values[0].value }}
-
- @lang('This product is out of stock, remove it to continue your order.')
-
+ @include('rapidez-ct::cart.partials.product.alert')
@{{ option }}:
diff --git a/resources/views/cart/partials/sidebar/summary.blade.php b/resources/views/cart/partials/sidebar/summary.blade.php
index 3cac0c4..7b5f94d 100644
--- a/resources/views/cart/partials/sidebar/summary.blade.php
+++ b/resources/views/cart/partials/sidebar/summary.blade.php
@@ -45,7 +45,12 @@
-
+
@lang('To checkout')
diff --git a/resources/views/components/alert.blade.php b/resources/views/components/alert.blade.php
new file mode 100644
index 0000000..a24e58d
--- /dev/null
+++ b/resources/views/components/alert.blade.php
@@ -0,0 +1,4 @@
+class('flex items-start rounded-sm gap-x-1 font-medium text-yellow-800 border border-yellow-300 bg-yellow-100 text-xs w-fit px-2 py-1') }}>
+
+ {{ $slot }}
+