Company Name in Address Dropdown

Monday, November 25, 2024 9:33:55 PM
  • Posted: Friday, August 16, 2019 4:40 PM
  • 32
Some of my customers have quite a few shipping addresses (warehouses) that they ship to and the name of the warehouse manager at the location is not particularly helpful in looking up the correct address. They need the Company name. Is there a way to display the company name in the list of shipping addresses in the checkout screen?
0
  • Posted: Friday, August 16, 2019 5:21 PM
  • 32
I was able to modify OpcShippingAddress.cshtml to get this result. I added

                                if (address.CompanyEnabled && !String.IsNullOrEmpty(address.Company))
                                {
                                    addressLine += $", {address.Company}";
                                }

to the foreach loop for existing addresses.
0
back to top
Filters