@extends($_layout.'master')
@section('title', $page_title??($style?'Cập nhật':'Tạo') . ' style cá nhân')
@include($_lib.'register-meta')
@php
$cond = $style && count($products);
@endphp
@section('content')
@if (!$cond)
@else
@include($_template.'products.style-list', [
'products' => $products,
'use_header' => true,
'use_thubnail_slide' => true,
'title' => "Style $style->name",
'list_class' => '',
'use_thubnail_slide' => true,
'use_container' => true,
'seemore' => route('client.style-sets.suggest-products', ['id' => $style->id]),
'seemore_text' => 'Xem thêm sản phẩm đề xuất',
'edit_url' => route('client.style-sets.update', ['id' => $style->id])
])
@endif
@endsection
{{-- thêm js mà layout chua co --}}
@php
add_css_link(theme_asset('css/vendors/ion.rangeSlider.min.css'));
add_js_src(theme_asset('js/ion.rangeSlider.min.js'));
add_js_src(theme_asset('components/common/script.js'));
@endphp
@section('css')
@endsection
@section('js')
{{-- --}}
@endsection