From 2cd62243fae8354f3ee9046bc68c1452a8c40dd0 Mon Sep 17 00:00:00 2001 From: merdan Date: Thu, 29 Sep 2022 18:15:57 +0500 Subject: [PATCH] sources api --- .../Webkul/Product/src/Models/ProductFlat.php | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/packages/Webkul/Product/src/Models/ProductFlat.php b/packages/Webkul/Product/src/Models/ProductFlat.php index e15c8b116..2aecbc9d2 100644 --- a/packages/Webkul/Product/src/Models/ProductFlat.php +++ b/packages/Webkul/Product/src/Models/ProductFlat.php @@ -53,18 +53,18 @@ class ProductFlat extends Model implements ProductFlatContract { return 'products_index'; } - public function toSearchableArray():array - { - return [ - 'id' => $this->id, - 'sku' => $this->sku, - 'name' => $this->name, -// 'meta_title' => $this->meta_title, - 'meta_keywords' => $this->meta_keywords, - 'status' => $this->status, - 'visible_individually' => $this->visible_individually - ]; - } +// public function toSearchableArray():array +// { +// return [ +// 'id' => $this->id, +// 'sku' => $this->sku, +// 'name' => $this->name, +//// 'meta_title' => $this->meta_title, +// 'meta_keywords' => $this->meta_keywords, +// 'status' => $this->status, +// 'visible_individually' => $this->visible_individually +// ]; +// } /** * Get an attribute from the model. *