ECommerceHelperGetLastUsedOrDefaultAddress Method |
Gets last used customer address if present or address with a default country defined in the 'CMSStoreDefaultCountryName' setting key.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax public static AddressInfo GetLastUsedOrDefaultAddress(
int customerId
)
Parameters
- customerId
- Type: SystemInt32
ID of the customer the address belongs to
Return Value
Type:
AddressInfoAddressInfo object
See Also