@extends('website.includes.master') @section('title') Product Detail @endsection @section('content')
full-image
@forelse($product->images as $p=>$image)
full-image
@empty @endforelse

{{ $product->name }}


    @if(!empty($product->cut_price))
  • ${{ $product->cut_price }}
  • @endif
  • ${{ $product->price }}

Availability: {{ $product->stock }}

@if(!empty($product->tags)) @endif
@if($product->stock=="in stock") @else
@endif

Product Details

{{ $product->shortdetail }}


{{--

Description

--}} {!! $product->description !!}

Related Products

But I must explain to you how all this mistaken idea

@forelse($relatedproducts as $relatedproduct)
@if(!empty($relatedproduct->discount))
{{ $relatedproduct->discount }}%
@endif product images
    @if($relatedproduct->stock=="in stock")
  • @endif

{{ $relatedproduct->name }}

    @if(!empty($relatedproduct->cut_price))
  • ${{ $relatedproduct->cut_price }}
  • @endif
  • ${{ $relatedproduct->price }}
@empty

No products available

@endforelse
@endsection