public function toArray($request): array 	{ 		$products = [];  		foreach ($this->resource->groupBy('matching_name') as $name => $product) { 			$products[] = new GroupedVariantsResource($product, $name); 		}  		return $products; 	}