I’m trying to have the customer’s phone number show under the customer account information section. I know the phone number belongs to the customer address section but I’m t
Oh, thanks I'll post now! (see comments under original post).
Simply use the following:
$this->getCustomer()->getPrimaryBillingAddress()->getTelephone();
The first part will give you all the details, which you could then explore with var_dump() as per @paperids.
var_dump()