[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Help on Storing Shipping Info
> How to store different ship addresses in userdb? I am using following
> code to store the values in userdb but nick name is missing in the
> userdb
I found it easiest to use the userdb functions set_shipping ,
get_shipping , and get_shipping_names . Those work with the address
book
stored as a perl hash in the userdb.address_book field. I think the
nickname field in the userdb may have something to do with an older way
of
storing multiple shipping addresses.
Jeff
Thanks a lot I tried with userdb functions and Now I could able to
retrive different
address and save the same. But while I am retriving the values its
displaying in the
following text on the page.
"HASH(0x94921e0) " with the following syntax
"[userdb function=get_shipping nickname="[value mv_blob_nick]"]
[if value address_book]
[loop arg="[value address_book]"]
<br><a href="#"
onClick="javascript:document.frmNick.mv_blob_nick.value='[loop-code]';document.frmNick.submit();return
false">
[loop-code]</a>
[/loop]
[/if]"
And aslo unable to trace this errors from the error log file.
Any Ideas.. ?
Vijeeth