@php $btn_icon_class = 'btn-sm m-btn m-btn--icon m-btn--icon-only m-btn--pill m-btn--air'; add_js_src('static/plugins/ckeditor5/build4/ckeditor.js?v=' . get_app_version()); add_js_src('static/manager/js/ckeditor.js?v=' . get_app_version()); add_css_link('/static/features/products/reviews.min.css?v=0.9'); add_js_src('/static/features/products/reviews.js?v=1.0'); add_js_data('CKEDITOR_DATA', [ 'urls' => [ 'upload' => route('merchant.files.media.ck-upload'), ], ]); $categoryOptions = get_scraper_category_options(); @endphp @extends($_layout . 'main') {{-- khai báo title --}} @section('title', 'Review Sản phẩm') {{-- tên modul xuất hiện trong sub header --}} @section('module.name', 'Review Sản phẩm') @section('content') @if (!isset($products) || !is_countable($products) || count($products) == 0)
Không có sản phẩm cần duyệt
@else
@foreach ($products as $product) @php $product->applyMeta(); @endphp
@csrf

{{ $product->name }}

{!! nl2br($product->description) !!}
{{ $product->sku }}
{!! html_input_template('merchant', [ 'type' => 'crazyselect', 'template' => 'crazyselect', 'name' => 'category_id', 'id' => 'product-' . $loop->index . '-category-id', 'data' => $categoryOptions, 'value' => $product->category_id, ]) !!}
{{ get_price_format($product->price, 'VND') }}
{{ $product->old_price ? get_price_format($product->old_price, 'VND') : null }}
{!! $product->detailed_content !!}
{{-- --}}
{{ $product->featured_image_alt ?? 'Alt ảnh sản phẩm' }}

Thông tin SEO

{!! $product->article_title !!}
{{ $product->meta_description }}
{!! $product->article_content !!}
{{ $product->keywords }}
@endforeach
{{ $products->links($_pagination . 'default') }}
@endif @endsection @section('js') @endsection @section('css') @endsection