@extends('front.themes.' . env('THEME', 'theme-01') . '.layout') @section('styles') @parent @endsection @section('content')
@include('includes.form-success') @if (Session::has('cart')) @foreach ($products as $product) @php $custom_item_id = $product['item']['id'] . $product['size'] . $product['color'] . $product['material'] . $product['customizable_gallery'] . $product['customizable_name'] . $product['customizable_number'] . $product['customizable_logo'] . str_replace( str_split(' ,'), '', $product['values'], ); $custom_item_id = str_replace(['\'', '"', ',', '.', ' ', ';', '<', '>'], '', $custom_item_id); @endphp @endforeach @endif
{{ __('Product Name') }} {{ __('Details') }} {{ __('Unit Price') }} {{ __('Sub Total') }}
product

{{ mb_strlen($product['item']->name, 'utf-8') > 35 ? mb_substr($product['item']->name, 0, 35, 'utf-8') . '...' : $product['item']->name }}

@if (!empty($product['item']->ship))

{{ __('Estimated shipping time') }}: {{ $product['item']->ship }}

@endif
@if (!empty($product['size'])) {{ __('Size') }}: {{ $product['item']['measure'] }}{{ str_replace('-', ' ', $product['size']) }}
@endif @if (!empty($product['material'])) {{ __('Material') }}: {{ $product['item']['measure'] }}{{ str_replace('-', ' ', $product['material']) }}
@endif @if (!empty($product['color']))
{{ __('Color') }}:
@endif @if (!empty($product['keys'])) @foreach (array_combine(explode(',', $product['keys']), explode('~', $product['values'])) as $key => $value) {{ App\Models\Attribute::where('input_name', $key)->first()->name }} : {{ $value }}
@endforeach @endif @if (env('ENABLE_CUSTOM_PRODUCT') || env('ENABLE_CUSTOM_PRODUCT_NUMBER')) @if (!empty($product['customizable_name'])) {{ __('Custom Name') }}:

{{ $product['customizable_name'] }}

@endif @endif @if (env('ENABLE_CUSTOM_PRODUCT')) @if (!empty($product['customizable_gallery']))
{{ __('Photo') }}:
@endif @if (!empty($product['customizable_logo']))
{{ __('Logo') }}:
@endif @endif @if (env('ENABLE_CUSTOM_PRODUCT_NUMBER')) @if (!empty($product['customizable_number'])) {{ __('Custom Number') }}:

{{ $product['customizable_number'] }}

@endif @endif

{{ App\Models\Product::convertPrice($product['item']['price']) }}

{{ App\Models\Product::signFirstPrice($product['item']['price']) }}

@if ($product['item']['type'] == 'Physical')
  • {{ $product['qty'] }}
@endif @if ($product['size_qty']) @elseif($product['item']['type'] != 'Physical') @else @endif

{{ App\Models\Product::convertPrice($product['price']) }}

@if (Session::has('cart'))

{{ __('PRICE DETAILS') }}

  • {{ __('Total MRP') }}

    {{ Session::has('cart') ? App\Models\Product::convertPrice($totalPrice) : '0.00' }}

  • {{ __('Tax') }}

    {{ $tx }}%

  • {{ __('Discount') }}

    {{ App\Models\Product::convertPrice(0) }}

{{ __('Total') }}

{{ Session::has('cart') ? App\Models\Product::convertPrice($mainTotal) : '0.00' }}

{{ Session::has('cart') ? App\Models\Product::signFirstPrice($mainTotal) : '0.00' }}

@if ($gs->is_standard_checkout)
@if ($gs->is_zip_validation)

{{ __('Shipping Price Calculation') }}

{{ __('Methods and prices displayed for your convenience.') }}

@endif @if ($gs->is_aex && config('features.aex_shipping'))

{{ __('AEX Shipping') }}

@endif
@endif @if ($gs->is_standard_checkout) {{ __('Place Order') }} @endif @if ($gs->is_simplified_checkout && !empty($gs->simplified_checkout_number)) {{ __('Simplified Checkout') }} @endif
@endif
@endsection @section('scripts') @endsection