@extends('website.layout.layout') @section('title') {{__("Compare products")}} - @endsection @section('content')
@foreach ($pros as $pro)

{{$pro->name}}

  • قیمت {{$pro->getPrice()}}
  • وزن {{$pro->getMeta('weight')}} گرم
  • @foreach ($pro->category->props as $prop)
  • {{__($prop->label)}} @if(\App\Helpers\isJson($pro->getMeta($prop->name))) @foreach(json_decode($pro->getMeta($prop->name)) as $x) {{$x->title}} @endforeach @elseif ($prop->name == 'color')
    @else {{$pro->getMeta($prop->name)}} @endif
  • @endforeach
افزودن به سبد خرید   حذف از مقایسه
@endforeach
@endsection