product

{{ $product->name }}

@for ($i = 1; $i <= 5; $i++) @if ($i <= $product->avgReview) @elseif($i - $product->avgReview == 0.5) @else @endif @endfor {{ $product->totalReviews() }} {{ __('Reviews') }}
{{ currency($product->actual_price) }}

{!! $product->short_description !!}

    @foreach ($product->attribute_and_values as $attributes) @php $count = count($product->attribute_and_values); @endphp
  • {{ ucfirst($attributes['attribute']) }}: @foreach ($attributes['attribute_values'] as $value) @endforeach
  • @endforeach
cart {{ __('Buy Now') }}
  • {{ __('Add to WishList') }}
  • {{ __('Share') }}
@php $tags = json_decode($product->tags); @endphp
  • {{ __('SKU') }}:{{ $product->sku }}
  • {{ __('Categories') }}: @foreach ($product->categories as $category) {{ $category->name }} @if (!$loop->last) , @endif @endforeach
  • {{ __('Tags') }}: @foreach ($tags as $tag) {{ $tag->value }} @if (!$loop->last) , @endif @endforeach