Click or drag to resize
ECommerceHelperGetLastUsedOrDefaultAddress Method
Gets last used customer address if present or address with a default country defined in the 'CMSStoreDefaultCountryName' setting key.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
public static AddressInfo GetLastUsedOrDefaultAddress(
	int customerId
)

Parameters

customerId
Type: SystemInt32
ID of the customer the address belongs to

Return Value

Type: AddressInfo
AddressInfo object
See Also