@extends('home.layouts.index') @section('title') مقایسه محصولات @endsection @section('description') @endsection @section('keywords') @endsection @section('script') @endsection @section('style') @endsection @section('content')
@foreach ($products as $item) @endforeach @foreach ($products as $item) @endforeach @foreach($attributes as $attribute) @foreach ($products as $item)
@if(file_exists(public_path(env('PRODUCT_IMAGES_UPLOAD_PATH').$item->primary_image)) and !is_dir(public_path(env('PRODUCT_IMAGESL_UPLOAD_PATH').$item->primary_image))) @else @endif {{ $item->name }}
قیمت (تومان) {{ number_format(product_price_for_user_normal($item->id)[2]) }}
{{ $attribute->name }}