Interface IProductStore
public interface IProductStore
Methods
GetProduct(string)
Task<IProduct?> GetProduct(string sku)
Parameters
sku
string
Returns
GetProductFromUmbracoNode(int)
Internally used by property editors rendered in the backoffice. In custom implementations, you may return null here if your products are managed elsewhere.
Task<IProductOrVariant?> GetProductFromUmbracoNode(int umbracoNodeId)
Parameters
umbracoNodeId
int
Returns
GetProductOrVariant(string)
Task<IProductOrVariant?> GetProductOrVariant(string sku)
Parameters
sku
string
Returns
List()
Task<IEnumerable<IProduct>> List()
Returns
ListWithVariants()
Task<IEnumerable<IProductOrVariant>> ListWithVariants()