@extends('front.layouts.master') @section('title', isset($title) ? $title : 'Home') @section('description', isset($description) ? $description : '') @section('keywords', isset($keywords) ? $keywords : '') @section('content')
@csrf
@if (!auth()->check())
@endif

{{ __('Billing Address') }}

{{--
--}} {{--
+962
--}}

{{ __('Shipping Address') }}

@error('shipping_name') {{ $message }} @enderror
@error('shipping_email') {{ $message }} @enderror
{{--
+962
--}}
@error('shipping_street_address') {{ $message }} @enderror
@error('shipping_state') {{ $message }} @enderror
@error('shipping_zipcode') {{ $message }} @enderror
@error('shipping_country') {{ $message }} @enderror

{{ __('Payment Method') }}

@if(auth()->user()) @php $grandTotal = currencyConverter(\Cart::subtotal() + allsetting()['shipping_charge'] + tax_amount(\Cart::subtotal()) - Session::get('CouponAmount')) @endphp @if ((new \App\Helpers\LoyaltyPointHelper)->getRedeemAmount($grandTotal,auth()->user()->id)['points'] > 0) @endif {{-- --}}
{{ __('Points') }}/{{ __('Amount') }}
{{ (new \App\Helpers\LoyaltyPointHelper)->getRedeemAmount($grandTotal,auth()->user()->id)['points'] }} {{ __('points') }}/{{ (new \App\Helpers\LoyaltyPointHelper)->getRedeemAmount($grandTotal,auth()->user()->id)['amount'] }} {{ __('JD') }}
payment card img
{{ __('HyperPay') }}
{{ (new \App\Helpers\LoyaltyPointHelper)->getRedeemAmount($grandTotal,auth()->user()->id)['grand_total'] }} JD
payment card img
@endif
@foreach ($paymentPlatforms as $payment) @if (session()->get('razorpay-tansaction') == true) @else @if ($payment->slug == 'stripe') @endif @if ($payment->slug == 'sslcommerz') @endif @endif @endforeach @if (env('COD_STATUS') == '1')
{{ env('COD_NAME') }}
@endif @if (env('HYPERPAY_STATUS') == '1')
{{ env('HYPERPAY_NAME') }}
@endif
@if (auth()->check()) @else @endif

{{ __('Discount Codes') }}

@csrf
{{__('Coupon discount valid on purchases above 40 JOD')}}
{{-- Cart Summary --}}

{{ __('Cart Summary') }}

{{ __('Edit') }}
@php $total = 0; @endphp @foreach ($content as $item) @endforeach
Item # Price
{{ productLangConverter($item->id) }} {{ $item->qty }} {{ currencyConverter($item->price * $item->qty) }}
{{--
    @php $total = 0; @endphp @foreach ($content as $item)
  • {{ $item->qty }} {{ productLangConverter($item->id) }}

    --}} {{--

    {{ __('Size:') }} {{ is_null($item->options->size) ? __('Free Size') : $item->options->size }}

    {{ __('Color:') }} @if (is_null($item->options->color)) {{ __('Any Color') }} @else @endif

    --}} {{--

    {{ currencyConverter($item->price * $item->qty) }}

  • @endforeach
--}}
  • {{ __('Subtotal') }} {{ currencyConverter(\Cart::subtotal()) }}
  • {{ __('Shipping Cost') }}
  • {{ __('VAT/Tax') }} {{ currencyConverter(tax_amount(\Cart::subtotal())) }}
  • {{ __('Member discount') }} @if (auth()->user()) {{ user_discount() . '%' }} @endif
  • @if (!empty(Session::get('CouponAmount')))
  • {{ __('Coupon Discount (-)') }} {{ currencyConverter(Session::get('CouponAmount')) }}
  • @endif

{{ __('Total Cost') }} {{ currencyConverter(\Cart::subtotal() + allsetting()['shipping_charge'] + tax_amount(\Cart::subtotal()) - Session::get('CouponAmount')) }}

@push('post_script') @endpush @endsection