Esempio n. 1
0
 /// <summary>
 /// Returns the value of a property on the product. Will traverse the content tree recursively to find the value. Will also use the master relation property of the product to search master products. NOTE: If you have a DynamicNode model use that instead of the string productIdentifier, which is slightly slower.
 /// </summary>
 /// <param name="storeId">Id of the store.</param>
 /// <param name="productIdentifier">A unique identifier of the product. E.g. the node id from Umbraco.</param>
 /// <param name="propertyAlias">Alias of the property to find.</param>
 /// <returns>The text value of the property.</returns>
 public static string GetPropertyValue(long storeId, string productIdentifier, string propertyAlias)
 {
     return(TeaCommerceHelper.GetPropertyValue(storeId, productIdentifier, propertyAlias));
 }