@extends('admin.layout') @section('content')

{{ trans('labels.Products') }} {{ trans('labels.ListingAllProducts') }}...

{{ trans('labels.ListingAllProducts') }}

@if (count($errors) > 0) @if($errors->any()) @endif @endif
{{ trans('labels.FilterByCategory/Products') }}:
{{ trans('labels.ClearSearch') }}



@if(count($results['products'])>0) @foreach ($results['products'] as $key=>$product) @endforeach @else @endif
{{ trans('labels.ID') }} {{ trans('labels.Image') }} {{ trans('labels.ProductDescription') }} {{ trans('labels.AddedLastModifiedDate') }}
{{ $product->products_id }} {{ $product->products_name }} @if(!empty($product->products_model)) ( {{ $product->products_model }} ) @endif
{{ trans('labels.Product Type') }}: @if($product->products_type==0) {{ trans('labels.Simple') }} @elseif($product->products_type==1) {{ trans('labels.Variable') }} @elseif($product->products_type==2) {{ trans('labels.External') }} @endif
@if(!empty($product->manufacturers_name)) {{ trans('labels.Manufacturer') }}: {{ $product->manufacturers_name }}
@endif {{ trans('labels.Price') }}: {{ $results['currency'][19]->value }}{{ $product->products_price }}
{{ trans('labels.Weight') }}: {{ $product->products_weight }}{{ $product->products_weight_unit }}
{{ trans('labels.Viewed') }}: {{ $product->products_viewed }}
@if(!empty($product->specials_id)) {{ trans('labels.Special Product') }}
{{ trans('labels.SpecialPrice') }}: {{ $product->specials_products_price }}
@if(!empty($product->specials_id)>0) {{ trans('labels.ExpiryDate') }}: @if($product->expires_date > time()) {{ date('d/m/Y', $product->expires_date) }} @else {{ trans('labels.Expired') }} @endif
@endif @endif
{{ trans('labels.AddedDate') }}: {{ $product->products_date_added }}
{{ trans('labels.ModifiedDate') }}: {{ $product->products_last_modified }}
{{ trans('labels.NoRecordFound') }}
{{$results['products']->links('vendor.pagination.default')}}
@endsection