Issue #5964 fixed
This commit is contained in:
parent
6edd13c4e2
commit
2c56804049
|
|
@ -49,6 +49,11 @@
|
|||
$minimumOrderAmount = (float) core()->getConfigData('sales.orderSettings.minimum-order.minimum_order_amount') ?? 0;
|
||||
@endphp
|
||||
|
||||
@if (Cart::hasError())
|
||||
<button class="theme-btn text-uppercase col-12 remove-decoration fw6 text-center" disabled>
|
||||
{{ __('velocity::app.checkout.proceed') }}
|
||||
</button>
|
||||
@else
|
||||
<proceed-to-checkout
|
||||
href="{{ route('shop.checkout.onepage.index') }}"
|
||||
add-class="theme-btn text-uppercase col-12 remove-decoration fw6 text-center"
|
||||
|
|
@ -56,5 +61,6 @@
|
|||
is-minimum-order-completed="{{ $cart->checkMinimumOrder() }}"
|
||||
minimum-order-message="{{ __('shop::app.checkout.cart.minimum-order-message', ['amount' => core()->currency($minimumOrderAmount)]) }}">
|
||||
</proceed-to-checkout>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Reference in New Issue