Method FindProductById
FindProductById(IStoreCallback, string)
Find a product by it's product ID or StoreSpecificID
Declaration
public static Product FindProductById(this IStoreCallback storeCallback, string sku)
Parameters
Type | Name | Description |
---|---|---|
IStoreCallback | storeCallback | The StoreCallback to extend |
string | sku | The ID to search |
Returns
Type | Description |
---|---|
Product | Returns the product with the ID or null |