@extends('front.layout') @section('title') {{ __('Checkout') }} @endsection @section('css') @endsection @section('content') {{ __('Home') }} {{ __('Cart') }} {{ __('Checkout') }} {{ __('Add product') }} {{ __('Favourites') }} @csrf {{ __('Product') }} {{ __('Description') }} {{ __('Price') }} {{ __('Quantity') }} {{ __('Subtotal') }} {{ __('Commission') }} @php $count = 0; @endphp @if (count($order['order_products'])) @foreach ($order['order_products'] as $product) @php $count++; @endphp {{ $product['product']['name'] }} @php $product_weight = $product['product']['weight'] * $product['quantity']; @endphp @foreach ($product['options'] as $product_option) {{ $product_option['option']->option['attribute']['name'] }} : {{ $product_option['option']->option['name'] }} @endforeach {{ formated_price($product['product']['new_price']) }} {{ $product['product']['new_price'] }} {{-- --}} - + {{ formated_price($product['product']['new_price'] * $product['quantity']) }} {{ formated_price($product['total_commission']) }} @endforeach @else {{ __('Cart empty') }} @endif {{ __('Customer info') }} {{ __('Select state') }} @foreach ($states as $state) id ? 'selected' : '' }} value="{{ $state->id }}">{{ $state->name }} @endforeach {{ __('Select state first') }} {{ __('Select brand') }} @foreach ($brands as $brand) {{ $brand }} @endforeach {{ $order['customer']['note'] }} {{ __('Order summary') }} {{ __('Subtotal') }} {{ __('Shipping') }} {{ formated_price(0) }} {{ __('Overweight Total Price') }} {{ formated_price(0) }} {{ __('Commission') }} {{ __('Total') }} @include('front.pages.checkout.modal') @endsection @section('scripts') @include('front.pages.checkout.checkout_js') @endsection