-
44
-
290
-
8/24/2010
-
United States
The packing slip of an order doesn't display the state in the address. It shows city and zip but skips the state.
I'm using version 1.8
-
44
-
290
-
8/24/2010
-
United States
It's also missing the apartment information.
-
44
-
290
-
8/24/2010
-
United States
To get Address2 (apartment information) Modify ~\Libraries\Nop.BusinessLogic\Utils\PDFHelper.cs Function PrintPackagingSlipsToPdf
Change:
section.AddParagraph(order.ShippingFullName);
section.AddParagraph(order.ShippingAddress1);
section.AddParagraph(String.Format("{0}, {1}", order.ShippingCity, order.ShippingZipPostalCode));
section.AddParagraph(order.ShippingCountry);
section.AddParagraph();
To:
section.AddParagraph(order.ShippingFullName);
section.AddParagraph(order.ShippingAddress1);
if (string.IsNullOrEmpty(order.ShippingAddress2) == false)
{
section.AddParagraph(order.ShippingAddress2);
}
section.AddParagraph(String.Format("{0}, {1} {2}", order.ShippingCity, order.ShippingStateProvince, order.ShippingZipPostalCode));
section.AddParagraph(order.ShippingCountry);
section.AddParagraph();
------------------
That'll give you the full state information. I don't know how to get the two letter abbreviation.
-
44
-
290
-
8/24/2010
-
United States
Are you suggesting I implement that change or import my changes to that change set? I ask because it's still missing Address2 in the invoice.
-
44
-
290
-
8/24/2010
-
United States
The code still needs ShippingAddress2 which often contains the customers apartment information or other data vital to correct delivery.
-
16630
-
156065
-
10/22/2008
-
Armenia
Agree. It'll be fixed in the near time