Skip to content

Instantly share code, notes, and snippets.

@mauro-vieira
Created April 5, 2020 22:00
Show Gist options
  • Save mauro-vieira/fbaf565d86c1df8190af5e8502130710 to your computer and use it in GitHub Desktop.
Save mauro-vieira/fbaf565d86c1df8190af5e8502130710 to your computer and use it in GitHub Desktop.
public class BaseVariantType : VariationContent, IBaseVariant
{
[JsonIgnore]
[IgnoreMetaDataPlusSynchronization]
[Display(GroupName = "Pricing", Name = "Prices", Order = 100)]
[UIHint("pricecollection")]
public virtual ContentReference PriceReference { get; set; }
[JsonIgnore]
[IgnoreMetaDataPlusSynchronization]
[Display(GroupName = "Inventory", Name = "Inventory", Order = 200)]
[UIHint("inventorycollection")]
public virtual ContentReference InventoryReference { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment