public function getTotalProducts() { $this->total_products = UsersShopDetails::where('user_id', $this->shop_owner_id)->pluck('total_products'); }