Helpcenter +918010117117 //d2pyicwmjx3wii.cloudfront.net/s/573db3149f0d58741f0cc63b/ms.settings/5256837ccc4abf1d39000001/57614ef64256dc6851749879-480x480.png" [email protected] https://www.facebook.com/StoreHippohttps://twitter.com/StoreHippohttps://www.linkedin.com/company/hippoinnovations/https://plus.google.com/+Storehippo/posts
B4,309-10 Spaze iTech Park, Sector 49, Sohna Road, 122001 Gurgaon India

ms.userAddresses

This widget manages addresses of the logged in user.


Variables

addresses
Array containing addresses of the logged in user.
address Returns main address from the address.
city Returns city from the address.
country Returns country from the address.
full_name Returns the name of user whose name is save against the correspoding user address.
phone Returns the phone from the address (if available).
state Returns state from the address.
zip Returns zip from the address.

Methods

remove_address(address) Used to delete an address from an array.
add_address(newAddress) Used to add a new address to the user addresses.
save_address(address) Used to update an existing address from the user addresses.
listAddresses() List all the addresses of the logged in user.