@extends('frontend.layouts.default') @php $title = $detail->json_params->title->{$locale} ?? $detail->title; $brief = $detail->json_params->brief->{$locale} ?? null; $content = $detail->json_params->content->{$locale} ?? null; $image = $detail->image != '' ? $detail->image : null; $image_thumb = $detail->image_thumb != '' ? $detail->image_thumb : null; $date = date('H:i d/m/Y', strtotime($detail->created_at)); // For taxonomy $taxonomy_json_params = json_decode($detail->taxonomy_json_params); $taxonomy_title = $taxonomy_json_params->title->{$locale} ?? $detail->taxonomy_title; $image_background = $taxonomy_json_params->image_background ?? ($web_information->image->background_breadcrumbs ?? null); $taxonomy_alias = Str::slug($taxonomy_title); $alias_category = App\Helpers::generateRoute(App\Consts::TAXONOMY['product'], $taxonomy_alias, $detail->taxonomy_id); $seo_title = $detail->json_params->seo_title ?? $title; $seo_keyword = $detail->json_params->seo_keyword ?? null; $seo_description = $detail->json_params->seo_description ?? $brief; $seo_image = $image ?? ($image_thumb ?? null); @endphp @push('style') @endpush @section('content') {{-- Print all content by [module - route - page] without blocks content at here --}}
{{--
{{ $page_title }}
--}} {{--

{{ $title }}

--}}

{{ $title }}

{{ $title }}

{{ $title }}

{!! nl2br($brief) !!}

{!! $content !!}
@isset($detail->json_params->catalog) CATALOG FILE @endisset @isset($detail->json_params->shop_online) SHOP ONLINE @endisset
Chia sẻ:
@isset($detail->json_params->gallery_image)

@lang('Gallery Image')

@foreach ($detail->json_params->gallery_image as $key => $value) {{ $key }} @endforeach
@endisset @if (isset($relatedPosts) && count($relatedPosts) > 0)

@lang('Related Products')

@endif
{{-- Form order --}} {{-- End content --}} @endsection