@foreach ($pros as $pro)
@endforeach
{{$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