@php $container = isset($use_container) && $use_container ? 'container container-max' : ''; if(isset($list_class) && $list_class) $container .= ' '.$list_class; $header = isset($use_header) && $use_header; $seemore = isset($seemore) && $seemore?$seemore:''; $seemore_text = isset($seemore_text) && $seemore_text?$seemore_text:'Xem thêm'; $useSlide = isset($use_slide)?$use_slide:false; $slideOnMobile = $slide_on_mobile??($slideOnMobile??false); $item_class = $item_class??''; $use_thubnail_slide = $use_thubnail_slide??false; $slide_thumbnail_class = $slide_thumbnail_class??null; $total_price = 0; foreach ($products as $product){ $total_price += $product->checkPrice($product->style_attrs); } @endphp