diff --git a/themes/berkarar/pages/home.htm b/themes/berkarar/pages/home.htm index 43ccc48..a58bdbb 100644 --- a/themes/berkarar/pages/home.htm +++ b/themes/berkarar/pages/home.htm @@ -11,10 +11,10 @@ function onStart(){ $this['movies'] = Tps\Movies\Models\Movie::orderBy('created_at')->limit(15)->get(); $this['sales'] = Tps\Shops\Models\Sale::all(); - $this['sales_all'] = $this['sales']->slice(0, 9); - $this['sales_news'] = $this['sales']->where("type", "news")->slice(0, 9); - $this['sales_promo'] = $this['sales']->where("type", "promo")->slice(0, 9); - $this['sales_discount'] = $this['sales']->where("type", "discount")->slice(0, 9); + $this['sales_all'] = $this['sales']->slice(0, 6); + $this['sales_news'] = $this['sales']->where("type", "news")->slice(0, 6); + $this['sales_promo'] = $this['sales']->where("type", "promo")->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_category_ids'] = $this['shop_categories']->lists('id'); diff --git a/themes/berkarar/pages/shop.htm b/themes/berkarar/pages/shop.htm index eb560e0..71b417c 100644 --- a/themes/berkarar/pages/shop.htm +++ b/themes/berkarar/pages/shop.htm @@ -47,12 +47,14 @@ function onStart(){