locale update

This commit is contained in:
gerchek 2024-03-16 12:56:30 +05:00
parent 733acdac03
commit 625b0fe51c
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ function onStart(){
$this['sales_discount'] = $this['sales']->where("type", "discount")->slice(0, 6); $this['sales_discount'] = $this['sales']->where("type", "discount")->slice(0, 6);
$this['shop_categories'] = Tps\Shops\Models\Category::where("top_category_id", $this->theme->main_shops)->orderBy('sort_order')->limit(3)->get(); $this['shop_categories'] = Tps\Shops\Models\Category::where("top_category_id", $this->theme->main_shops)->orderBy('sort_order')->limit(3)->get();
dd($this['shop_categories']); //dd($this['shop_categories']);
$this['shop_category_ids'] = $this['shop_categories']->lists('id'); $this['shop_category_ids'] = $this['shop_categories']->lists('id');
$this['shop_all'] = Tps\Shops\Models\Shop::whereIn('category_id', $this['shop_category_ids'])->limit(6)->get(); $this['shop_all'] = Tps\Shops\Models\Shop::whereIn('category_id', $this['shop_category_ids'])->limit(6)->get();
} }