in \Views\Order\Details.cshtml
in here after <td class="product">
<td class="product">
@if (!Model.PrintMode)
{
<em><a href="@(Url.RouteUrl<Product>(new { SeName = item.ProductSeName }))">@item.ProductName</a></em>
}
else
{
@item.ProductName
}
@if (!string.IsNullOrEmpty(item.AttributeInfo))
{
<div class="attributes">
@Html.Raw(item.AttributeInfo)
</div>
}
@if (!string.IsNullOrEmpty(item.RentalInfo))
{
<div class="rental-info">
@Html.Raw(item.RentalInfo)
</div>
}
@if (item.DownloadId > 0)
{
<iframe src='@Url.RouteUrl("GetDownload", new { orderItemId = item.OrderItemGuid })' style='width:100%;height:30px;border:0;margin-top:10px;'></iframe>
}
@if (item.LicenseId > 0)
{
<div class="download license">
<a href="@Url.RouteUrl("GetLicense", new {orderItemId = item.OrderItemGuid})">@T("DownloadableProducts.Fields.DownloadLicense")</a>
</div>
}
@await Component.InvokeAsync(typeof(WidgetViewComponent), new { widgetZone = PublicWidgetZones.OrderDetailsProductLine, additionalData = item })
</td>
i tried this
@Url.RouteUrl("GetDownload", new { orderItemId = item.UserAgreementText })
and this
@item.UserAgreementText
it doesn't work...
i need to display some field from product on order details page when product is paid, maybe gtin or manufacturer part number
how can i do it please?