filter options

This commit is contained in:
merdan 2022-11-02 11:13:30 +05:00
parent 8344a123f8
commit 0fd4bfb670
1 changed files with 3 additions and 2 deletions

View File

@ -24,8 +24,9 @@ class Channel extends JsonResource
'root_category_id' => $this->root_category_id,
'promotion_category_id' => $this->promotion_category_id,
'is_maintenance_on' => $this->is_maintenance_on,
'sliders' => Slider::collection($this->sliders),
'brand_attribute_id' => 25 //todo vremenno goyuldy. id admindan bazadan settingsden almaly(2 marketplace goshulanda)
// 'sliders' => Slider::collection($this->sliders),
'maintenance_mode_text' => $this->maintenance_mode_text,
// 'brand_attribute_id' => 25 //todo vremenno goyuldy. id admindan bazadan settingsden almaly(2 marketplace goshulanda)
// 'root_category' => $this->when($this->root_category_id, new CategoryResource($this->root_category)),
// 'main_categories' => $this->when(request()->has('channel_id'),Category::collection($this->categories))