@extends('layouts.app') @section('content')

{{$product->product_name}}

{{setPriceFormat($product->price)}}
{!! $product->product_details !!}
@if($product->specification != '')
Specification
{!! $product->specification !!}
@endif @if($product->resources != '')
Resources
{!! $product->resources !!}
@endif


@if(!empty($advertisement))
{!! $advertisement->description !!}
@endif

Today Added New Products

@forelse($today_added_product as $key => $product)
Date Added: {{ date('d F Y', strtotime($product->publish_date)) }}
Licence: {{$product->subcategory->subcategory_name}}
Category: {{$product->category->category_name}}
Price: {{setPriceFormat($product->price)}}
@empty

No product added today

@endforelse
@include('layouts.product_sidebar')
@endsection @push('js') @endpush