@extends('shop::layouts.master') @section('page_title') {{ __('shop::app.search.page-title') }} @endsection @push('css') @endpush @section('content-wrapper')
@csrf
@if(auth('customer')->check() && auth('customer')->user()->addresses) @endif @foreach ($shippingAndPaymentArray as $checkoutTree) @if ($checkoutTree['key'] == 'checkout_page.payments')

{{ __('admin::app.layouts.payment-methods') }}

@foreach ($payments as $payment)
{{ __($payment['method_title']) }} @if ($payment['method'] == 'cashondelivery') {{ core()->currency($cashOndeliveryFees) }} @else {{ core()->currency(0) }} @endif
{{ __($payment['description']) }}
@endforeach
@endif @if ($checkoutTree['key'] == 'checkout_page.shipping' && !$isShipping)

{{ __('admin::app.layouts.shipping-methods') }}

@foreach ($activeShipping as $shippingMethod) {!! view_render_event('bagisto.shop.checkout.shipping-method.before', ['shippingMethod' => $shippingMethod]) !!} {{ __($shippingMethod['carrier_title']) }}
{{ core()->currency($shippingMethod['base_price']) }}
@endforeach
@endif @endforeach
@include('shop::checkout.total.summary-new',$cart)
@endsection @push('scripts') @include('shop::checkout.onepage.customer-addresses') @include('shop::checkout.cart.coupon') @endpush