\n\t\t\t\t\t\t
(Html.ProductUrl(product)
, 5156), false)
);
WriteLiteral(">");
Write(product.Name);
WriteLiteral("\n\t\t\t\t\t\t
(Html.ProductUrl(product)
, 5270), false)
);
WriteLiteral(">Part #: ");
Write(product.SKU);
WriteLiteral("\n");
foreach(var extraHeader in extraColumnHeaders)
{
var extraColumn = product.Attributes
.Where(a => a.Category == extraHeader)
.Select(a => (a.Value != null && a.Value is string ? a : null))
.DefaultIfEmpty(null)
.FirstOrDefault();
if (extraColumn != null)
{
WriteLiteral("\t\t\t\t\t\t\t\t
");
Write(extraColumn.Category);
WriteLiteral(" : ");
Write(extraColumn.Value.ToString());
WriteLiteral("
\n");
}
else
{
WriteLiteral("\t\t\t\t\t\t\t\t
\n");
}
}
WriteLiteral("\t\t\t\t\t\t
Price: $");
Write(product.DefaultPrice.Amount);
WriteLiteral("
\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t