@extends('layouts.app') @section('title') {{ $product->name }} @endsection @section('css') @endsection @section('content')
@php $variations = $product->variations; $reviews = $product->reviews; @endphp
    @foreach ($product->images as $image)
  • {{ $product->name }}
  • @endforeach

{{ $product->name }}

MYR @if ($product->discounted_price > 0){{ $product->discounted_price }}@else{{ $product->unit_price }}@endif

@if ($product->discounted_price > 0) MYR {{ $product->unit_price }} @endif
    @for ($i = 1; $i <= 5; $i++)
  • @endfor
{{ $reviews->count() }} {{ str_plural('review', $reviews->count()) }}

{{ $product->brief_description }}

@foreach ($variations as $variation) @endforeach

  • @auth
  • @endif
@if (auth()->check() and $in_wishlist == false)
@endif

{!! nl2br($product->full_description) !!}

@include('partials.reviews')
Leave a review
@auth
@else

Please login to review.

@endif
@endsection @section('js') @endsection