diff --git a/composer.json b/composer.json index 5d10466d..866650fb 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ "require": { "php": "^8.0|^8.1|^8.2", "blade-ui-kit/blade-heroicons": "^2.0", - "rapidez/core": "^2.16" + "rapidez/core": "^2.17" }, "autoload": { "psr-4": { diff --git a/lang/nl.json b/lang/nl.json index 2b189d9e..602385fb 100644 --- a/lang/nl.json +++ b/lang/nl.json @@ -71,6 +71,7 @@ "Select an address": "Selecteer een adres", "Select as billing": "Selecteer als factuuradres", "Select as shipping": "Selecteer als verzendadres", + "This product is out of stock": "Dit product is op dit moment niet op voorraad", "Send": "Versturen", "Step 1 of 4": "Stap 1 van 4", "Step :step out of :total": "Stap :step van :total", diff --git a/resources/views/cart/partials/product/description.blade.php b/resources/views/cart/partials/product/description.blade.php index fbdc99a9..ed52d43e 100644 --- a/resources/views/cart/partials/product/description.blade.php +++ b/resources/views/cart/partials/product/description.blade.php @@ -1,20 +1,23 @@ @include('rapidez-ct::cart.partials.product.alert')
- -
@{{ item.product.name }}
+
+ @{{ item.product.name }}
@{{ option.option_label }}: @{{ option.value_label }}
@{{ 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.remove-button')
diff --git a/resources/views/cart/partials/product/image.blade.php b/resources/views/cart/partials/product/image.blade.php index 87630c96..6c18f016 100644 --- a/resources/views/cart/partials/product/image.blade.php +++ b/resources/views/cart/partials/product/image.blade.php @@ -1,10 +1,10 @@ - diff --git a/resources/views/cart/partials/product/price.blade.php b/resources/views/cart/partials/product/price.blade.php index 1245bc5e..ec559fe1 100644 --- a/resources/views/cart/partials/product/price.blade.php +++ b/resources/views/cart/partials/product/price.blade.php @@ -7,7 +7,9 @@ - + @{{ item.prices.row_total_including_tax.value | price }}