Issue #2794
This commit is contained in:
parent
172310bfd1
commit
a1fa3f64e0
|
|
@ -411,6 +411,7 @@ return [
|
|||
'your-customization' => 'التخصيص الخاص بك',
|
||||
'total-amount' => 'المبلغ الإجمالي',
|
||||
'none' => 'لا شيء',
|
||||
'available' => 'Available'
|
||||
],
|
||||
|
||||
// 'reviews' => [
|
||||
|
|
|
|||
|
|
@ -410,7 +410,8 @@ return [
|
|||
'choose-selection' => 'Choose a selection',
|
||||
'your-customization' => 'Your Customization',
|
||||
'total-amount' => 'Total Amount',
|
||||
'none' => 'None'
|
||||
'none' => 'None',
|
||||
'available' => 'Available'
|
||||
],
|
||||
|
||||
// 'reviews' => [
|
||||
|
|
|
|||
|
|
@ -381,7 +381,8 @@ return [
|
|||
'out-of-stock' => 'Sin estoc',
|
||||
'view-all' => 'Ver todo',
|
||||
'select-above-options' => 'Primero selecciona las opciones de arriba.',
|
||||
'less-quantity' => 'La cantidad no debe ser inferior a uno.'
|
||||
'less-quantity' => 'La cantidad no debe ser inferior a uno.',
|
||||
'available' => 'Available'
|
||||
],
|
||||
|
||||
// 'reviews' => [
|
||||
|
|
|
|||
|
|
@ -410,7 +410,8 @@ return [
|
|||
'choose-selection' => 'انتخابی را انتخاب کنید',
|
||||
'your-customization' => 'شخصی سازی شما',
|
||||
'total-amount' => 'مقدار کل',
|
||||
'none' => 'هیچ یک'
|
||||
'none' => 'هیچ یک',
|
||||
'available' => 'Available'
|
||||
],
|
||||
|
||||
// 'reviews' => [
|
||||
|
|
|
|||
|
|
@ -415,7 +415,8 @@ return [
|
|||
'choose-selection' => 'Kies een selectie',
|
||||
'your-customization' => 'Uw maatwerk',
|
||||
'total-amount' => 'Totale hoeveelheid',
|
||||
'none' => 'Geen'
|
||||
'none' => 'Geen',
|
||||
'available' => 'Available'
|
||||
],
|
||||
|
||||
// 'reviews' => [
|
||||
|
|
|
|||
|
|
@ -398,7 +398,8 @@ return [
|
|||
'choose-selection' => 'Escolha uma seleção',
|
||||
'your-customization' => 'Sua personalização',
|
||||
'total-amount' => 'Valor total',
|
||||
'none' => 'Nenhum'
|
||||
'none' => 'Nenhum',
|
||||
'available' => 'Available'
|
||||
],
|
||||
|
||||
// 'reviews' => [
|
||||
|
|
|
|||
|
|
@ -1,7 +1,13 @@
|
|||
{!! view_render_event('bagisto.shop.products.view.stock.before', ['product' => $product]) !!}
|
||||
|
||||
<div class="stock-status {{! $product->haveSufficientQuantity(1) ? '' : 'active' }}">
|
||||
{{ $product->haveSufficientQuantity(1) ? __('shop::app.products.in-stock') : __('shop::app.products.out-of-stock') }}
|
||||
@if ( $product->haveSufficientQuantity(1) === true )
|
||||
{{ __('shop::app.products.in-stock') }}
|
||||
@elseif ( $product->haveSufficientQuantity(1) > 0 )
|
||||
{{ __('shop::app.products.available') }}
|
||||
@else
|
||||
{{ __('shop::app.products.out-of-stock') }}
|
||||
@endif
|
||||
</div>
|
||||
|
||||
{!! view_render_event('bagisto.shop.products.view.stock.after', ['product' => $product]) !!}
|
||||
|
|
@ -4,7 +4,13 @@
|
|||
<button
|
||||
type="button"
|
||||
class="{{! $product->haveSufficientQuantity(1) ? '' : 'active' }} disable-box-shadow">
|
||||
{{ $product->haveSufficientQuantity(1) ? __('shop::app.products.in-stock') : __('shop::app.products.out-of-stock') }}
|
||||
@if ( $product->haveSufficientQuantity(1) === true )
|
||||
{{ __('shop::app.products.in-stock') }}
|
||||
@elseif ( $product->haveSufficientQuantity(1) > 0 )
|
||||
{{ __('shop::app.products.available') }}
|
||||
@else
|
||||
{{ __('shop::app.products.out-of-stock') }}
|
||||
@endif
|
||||
</button>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue