Hi,
I am creating a schedule to show all orders for a specific day.
I only want to include delivery date info(Id=3) and special instructions (Id=1) from the set of checkout attributes I have created.
How do I edit this code to make it work? Any ideas or help pls?
//checkout attributes
if (!String.IsNullOrEmpty(order.CheckoutAttributeDescription))
{
sec.AddParagraph();
Paragraph pCheckoutAttributes = null;
string attributes = HtmlHelper.ConvertHtmlToPlainText(order.CheckoutAttributeDescription, true);
pCheckoutAttributes = sec.AddParagraph(attributes);
pCheckoutAttributes.Format.LineSpacingRule = LineSpacingRule.Double;
if (pCheckoutAttributes != null)
{
pCheckoutAttributes.Format.Alignment = ParagraphAlignment.Right;
}
}