• Welcome to KonaKart Community Forum. Please login or sign up.
 

Multiple addresses infos and behaviours

Started by impiastro, November 16, 2009, 12:14:09 pm

Previous topic - Next topic

impiastro

Hi everyone!

I'm playing with KK web services about customer addresses.

I've tried creating a new address using the web service and adding it to an existing customer.
I realized that there are many mandatory fields before successfully creating a new address.
These fields are: gender, first and last name, street address, post code and city.

I saw the new created address inside KK tables so I tried to read back all customer's addresses using the ws API (getAddressesPerCustomer(...)) but unfortunately only the first one (default) was giving back.
After many attempts I figured out that the country id should point to an existing country id otherwise it will not returned by the getAddressesPerCustomer function.
So my question is: "why the country id is not mandatory in address creation?"

The second question is: "is there a way to manage multiple customer addresses in the konakart admin application?"
The reason is that now we can handle multiple addresses for a customer but they are invisible to the admin application.

Bye,

ROb