@section('metaTitle', $product->getMetaTags()['title']) @section('metaDescription', $product->getMetaTags()['description']) @section('metaKeywords', $product->getMetaTags()['keywords']) @extends('frontend.layouts.applayout') @section('main-content') @php $special = false; $today = date('Y-m-d'); if ($product->special_price_from) { if ($product->special_price_from <= $today && $product->special_price_to >= $today) { $special = true; } } @endphp
@if ($product->brand_name)
By
{{ $product?->brand_name?->name }}
@endif
{{-- | --}}
SKU {{ $product->sku }}
@if ($special)
${{ $product->price }}
${{ $product->special_price }}
@else
${{ $product->price }}
@endif
{{ $product->small_description }}