Settings Objects
Strongly typed Settings objects in Umbraco Commerce.
UI Scaffolding
public class MyDiscountRewardProviderSettings
{
[DiscountRewardProviderSetting(Key = "nodeId",
Name = "Product Node",
Description = "The product to discount the price of",
View = "contentpicker",
Config = "{ startNodeId: -1, multiPicker: false, idType: 'udi' }")]
public Udi NodeId { get; set; }
...
}
Default Values
Last updated
Was this helpful?