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

{{ $product->name }}


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

Availability: {{ $product->stock }}

@if(!empty($product->tags)) @endif
@if(isset($product->colors) && !empty($product->colors))
    @forelse($product->colors as $c=>$color)
  • @empty @endforelse
@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))
  • {{ $setting->currency_symbol }}{{ $relatedproduct->cut_price }}
  • @endif
  • {{ $setting->currency_symbol }}{{ $relatedproduct->price }}
@empty

No products available

@endforelse
@endsection