45 lines
1.9 KiB
PHP
45 lines
1.9 KiB
PHP
|
<div class="steps-wrap">
|
||
|
<div class="container">
|
||
|
<ul class="list-inline step-tabs">
|
||
|
<li class="step-tab {{ request()->routeIs('cart.index') ? 'active' : '' }}">
|
||
|
@if (request()->routeIs('checkout.create'))
|
||
|
<a href="{{ route('cart.index') }}" class="step-tab-link">
|
||
|
<span class="step-tab-text">
|
||
|
{{ trans('storefront::cart.shopping_cart') }}
|
||
|
<span class="bg-text">01</span>
|
||
|
</span>
|
||
|
</a>
|
||
|
@else
|
||
|
<span class="step-tab-text">
|
||
|
{{ trans('storefront::cart.shopping_cart') }}
|
||
|
<span class="bg-text">01</span>
|
||
|
</span>
|
||
|
@endif
|
||
|
</li>
|
||
|
|
||
|
<li class="step-tab {{ request()->routeIs('checkout.create') ? 'active' : '' }}">
|
||
|
@if (request()->routeIs('cart.index') && Cart::hasAvailableShippingMethod())
|
||
|
<a href="{{ route('checkout.create') }}" class="step-tab-link">
|
||
|
<span class="step-tab-text">
|
||
|
{{ trans('storefront::cart.checkout') }}
|
||
|
<span class="bg-text">02</span>
|
||
|
</span>
|
||
|
</a>
|
||
|
@else
|
||
|
<span class="step-tab-text">
|
||
|
{{ trans('storefront::cart.checkout') }}
|
||
|
<span class="bg-text">02</span>
|
||
|
</span>
|
||
|
@endif
|
||
|
</li>
|
||
|
|
||
|
<li class="step-tab {{ request()->routeIs('checkout.complete.show') ? 'active' : '' }}">
|
||
|
<span class="step-tab-text">
|
||
|
{{ trans('storefront::cart.order_complete') }}
|
||
|
<span class="bg-text">03</span>
|
||
|
</span>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|