locale update
This commit is contained in:
parent
733acdac03
commit
625b0fe51c
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue