@extends('ecommerce::frontend.layout.main') @section('title') {{ $ecommerce_setting->site_title ?? '' }} @endsection @section('description') @endsection @push('css') @endpush @section('content')
@include('ecommerce::frontend.customer-menu')
@if(isset($products) && count($products) > 0)
@foreach($products as $product) @endforeach
{{trans('file.product')}} {{trans('file.Price')}}
delete @if($product->image!==null) @php $images = explode(',', $product->image); $product->image = $images[0]; @endphp {{ $product->name }} @else {{ $product->name }} @endif
{{ $product->name }} @if(isset($product->unit)) ({{ $product->unit->unit_name }}) @endif
@if(($product->promotion == 1) && (($product->last_date > date('Y-m-d')) || !isset($product->last_date)))
{{$currency->symbol ?? $currency->code}}{{ $product->promotion_price }} {{$currency->symbol ?? $currency->code}}{{ $product->price }}
@else {{$currency->symbol ?? $currency->code}}{{ $product->price }} @endif @if($product->in_stock == 1) @if(is_null($product->is_variant))
@csrf
@else @endif @else {{trans('file.Out of stock')}} @endif
@if(($product->promotion == 1) && (($product->last_date > date('Y-m-d')) || !isset($product->last_date))) {{$currency->symbol ?? $currency->code}}{{ $product->promotion_price }} {{$currency->symbol ?? $currency->code}}{{ $product->price }} @else {{$currency->symbol ?? $currency->code}}{{ $product->price }} @endif @if($product->in_stock == 1) @if(is_null($product->is_variant))
@csrf
@else @endif @else {{trans('file.Out of stock')}} @endif
@else

{{trans('file.You have not added anything to wishlist yet')}}

@endif
@endsection @section('script') @endsection