public function edit(Product $id): View 	{ 		$product = $id; 		$specsCategories = SpecsCategory::all(); 		$shops = Shop::all(); 		$selectedSpecsCategories = $product->specsCategories->pluck('id')->toArray(); 		$selectedShops = $product->shops->pluck('id')->toArray(); 		$accessories = Product::accessory()->get(); 		$specsByCategory = $product->specsByCategory($product); 		$selectedAvailableAccessories = $product->availableAccessories->pluck('id')->toArray(); 		$selectedIncludedAccessories = $product->includedAccessories->pluck('id')->toArray(); 		$categories = Category::all(); 		$selectedCategory = $product->category->id ?? null; 		$colors = app(GeneralSettings::class)->colors; 		$manufacturers = Manufacturer::available()->includes()->get(); 		$PDVRates = getCurrentMarket()->getPDVRates();  		return view('products.add', compact('product', 'manufacturers', 'specsCategories', 'selectedSpecsCategories', 'specsByCategory', 'colors', 'shops', 'selectedShops', 'accessories', 'selectedAvailableAccessories', 'selectedIncludedAccessories', 'categories', 'selectedCategory', 'PDVRates')); 	}