Show the packe type (Tape&Reel, Box, etc.) as footprint in digikey provider search

This commit is contained in:
Jan Böhmer 2025-03-27 21:25:30 +01:00
parent 10ae945c98
commit 18f8b4647d

View file

@ -139,6 +139,7 @@ class DigikeyProvider implements InfoProviderInterface
preview_image_url: $product['PhotoUrl'] ?? null,
manufacturing_status: $this->productStatusToManufacturingStatus($product['ProductStatus']['Id']),
provider_url: $product['ProductUrl'],
footprint: $variation['PackageType']['Name'], //Use the footprint field, to show the user the package type (Tape & Reel, etc., as digikey has many different package types)
);
}
}