@extends('website.layout.layout') @section('content')

{{\App\Helpers\getSetting('top1text')}}

@foreach(\App\Helpers\getProductByCat(\App\Helpers\getSetting('top2cat'),'id','desc',2) as $p) @endforeach
@foreach(\App\Helpers\getProductByCat(\App\Helpers\getSetting('top3cat'),'id','desc',2) as $p) @endforeach

{{\App\Helpers\getSetting('sectext')}}

همه محصولات

{{\App\Helpers\getSetting('3text')}}

@foreach(\App\Helpers\getSubCats(\App\Helpers\getSetting('3cat')) as $cat) @endforeach
@foreach(\App\Helpers\getProductByCat(\App\Helpers\getSetting('3cat'),'stock_quantity','desc',12) as $p)
{{$p->name}}

{{$p->name}}

{{$p->getPrice()}}
@endforeach

واپسین مطالب


@foreach(\Xmen\StarterKit\Models\Post::where('status',1)->limit(4)->get() as $p)
{{$p->title}}

{{$p->title}}

{{$p->created_at->jdate('Y/m/d')}}

{{$p->subtitle}}

دیدگاه‌: {{$p->comments()->count()}}
@endforeach
همه مطالب

برندها

@foreach(\App\Helpers\getSubCats(\App\Helpers\getSetting('4cat')) as $cat) @endforeach
@endsection