@extends('dashboard.layouts.master') @section('title', $product_image->product->title) @section('content')
{{ $product->title }}
@foreach($product->images as $img) Thumbnail {{ $loop->iteration }} @endforeach

{{ $product->title }}

Rs. {{ number_format($product->selling_price, 2) }}

Product Details

Product Name: {{ $product->title }}

Product Sub Title: {{ $product->sub_title }}

Categories: @if($product->categories->count()) @foreach($product->categories as $category) {{ $category->title }}@if(!$loop->last), @endif @endforeach @else N/A @endif

Display Price: Rs.{{ $product->display_price }}

Selling Price: Rs.{{ $product->selling_price }}

Description: {{ $product->description }}

Product Images: {{ $product->images->count() }}

Created At: {{ $product->created_at }}

Back @endsection