@extends('layouts.vendor') @section('content')
@lang('Product Title') | @lang('Details') | @lang('Total Price') |
---|---|---|
@if ($product['item']['user_id'] != 0) @php $user = App\Models\User::find($product['item']['user_id']); @endphp @if (isset($user)) {{ mb_strlen($product['item']['name'], 'UTF-8') > 30 ? mb_substr($product['item']['name'], 0, 30, 'UTF-8') . '...' : $product['item']['name'] }} @else {{ mb_strlen($product['item']['name'], 'UTF-8') > 30 ? mb_substr($product['item']['name'], 0, 30, 'UTF-8') . '...' : $product['item']['name'] }} @endif @endif @if ($product['license'] != '') {{ __('View License') }} @endif |
@if ($product['size'])
@lang('Size :')
{{ str_replace('-', '', $product['size']) }}
@endif
@if ($product['color'])
{{ __('Color') }} :
@endif
@lang('Price :')
{{ \PriceHelper::showOrderCurrencyPrice($product['item_price'] * $order->currency_value, $order->currency_sign) }}
@lang('Qty :')
{{ $product['qty'] }}
{{ $product['item']['measure'] }}
@if (!empty($product['keys']))
@foreach (array_combine(explode(',', $product['keys']), explode(',', $product['values'])) as $key => $value)
{{ ucwords(str_replace('_', ' ', $key)) }}
:
{{ $value }}
@endforeach
@endif
|
{{ \PriceHelper::showOrderCurrencyPrice($product['price'] * $order->currency_value, $order->currency_sign) }} {{ $product['discount'] == 0 ? '' : '(' . $product['discount'] . '% ' . __('Off') . ')' }} | @php $subtotal += round($product['price'] * $order->currency_value, 2); @endphp