[ic] address book: delete & expand fields

Andrei Gologan interchange-users@icdevgroup.org
Tue Sep 3 11:45:01 2002


Hi

2 questions about the address book:

1. How can I add more fields to the ones allready there, i need a company_2
and a phone_night to be in the address book.

2. How can I delete adresses from the address book. Using mysql I dont know
how since it is no table but a filed in a table column. i also tried the
code from "simple" but it does not seem to work: I put this on
ship_addresses.html right on top:

<FORM action="ship_addresses_removed.html" method="POST">
You can DELETE a shipping address from your address book.<BR>
[loop arg="[value address_book]" ]
<INPUT TYPE=checkbox NAME="s_nickname" VALUE="[loop-code]">
[loop-code]
[/loop]
<INPUT TYPE=submit NAME="mv_check" VALUE="DELETE">
</form>
[set DELETE]
mv_todo=return
mv_nextpage=ord/checkout
[userdb function=delete_shipping nickname="[value s_nickname]"]
[/set]

i tried it also in checkout and with different form actions ..... but no
efect.

i use IC 4.8

Thank u for your help !!
Andrei