I'm attempting to customize the orders.liquid template file to include the manufacturer part number. I've already changed the entities that I believe are associated to this template (OrderItemModel) but the generated email simply leaves that field blank. It seems like the field is not available when DotLiquid runs the file, but it's definitely there. Any help is appreciated.
public partial class OrderItemModel : EntityModelBase { public OrderItemModel() { BundleItems = new List<BundleItemModel>(); } public string Sku { get; set; } public int ProductId { get; set; } public LocalizedValue<string> ProductName { get; set; } public string ProductSeName { get; set; } public string ProductUrl { get; set; } public ProductType ProductType { get; set; } public string UnitPrice { get; set; } public string SubTotal { get; set; } public int Quantity { get; set; } public string QuantityUnit { get; set; } public string AttributeInfo { get; set; } public bool BundlePerItemPricing { get; set; } public bool BundlePerItemShoppingCart { get; set; } public PictureModel Picture { get; set; } public IList<BundleItemModel> BundleItems { get; set; } public string ManufacturerPartNumber { get; set; } }