@extends('website.layout.layout') @section('content') {{\App\Helpers\getSetting('top1text')}} @foreach(\App\Helpers\getProductByCat(\App\Helpers\getSetting('top1cat'),'id','desc',10) as $p) {{$p->name}} {{$p->getPrice()}} افزودن به سبد خرید @endforeach @foreach(\App\Helpers\getProductByCat(\App\Helpers\getSetting('top2cat'),'id','desc',2) as $p) {{$p->getPrice()}} {{\App\Helpers\getSetting('top2text')}} @endforeach @foreach(\App\Helpers\getProductByCat(\App\Helpers\getSetting('top3cat'),'id','desc',2) as $p) {{$p->getPrice()}} {{\App\Helpers\getSetting('top3text')}} @endforeach {{\App\Helpers\getSetting('sectext')}} @foreach(\App\Helpers\getProductByCat(\App\Helpers\getSetting('seccat'),'id','desc',10) as $p) {{$p->name}} {{$p->getPrice()}} افزودن به سبد خرید @endforeach همه محصولات {{\App\Helpers\getSetting('3text')}} همه @foreach(\App\Helpers\getSubCats(\App\Helpers\getSetting('3cat')) as $cat) {{$cat->name}} @endforeach @foreach(\App\Helpers\getProductByCat(\App\Helpers\getSetting('3cat'),'stock_quantity','desc',12) as $p) {{$p->name}} {{$p->getPrice()}} @endforeach برندها @foreach(\App\Helpers\getSubCats(\App\Helpers\getSetting('4cat')) as $cat) @endforeach @endsection