[ic] How to set Shipping Address to point to current selected nickname?

Ed LaFrance interchange-users@icdevgroup.org
Mon Aug 5 11:20:01 2002


At 06:08 AM 8/5/2002 +0800, you wrote:
>I'm not using the "ship_addresses.html" provided in the IC demo
>4.8.5. Instead, I've written a form doing something similar (ie,
>load, save, delete) to handle multiple shipping addresses.
>
>After I've selected an address, how do I make the current selection
>reflect on the Checkout page?  Eg, I have created new addresses with
>these nicknames:  new1, new2, new3  and I've selected "new2" and set
>it using:
>
>[userdb function=set_shipping shipping="s_nickname address1 address2
>city state country zip"]
>
>However, "new2" is not reflected as the current address at the
>Checkout page.  Instead, the previous default value was there.
>
>What can I do to reflect the newly selected nickname's values
>instead?  I have a feeling it's got something to do with
>"mv_blob_pointer", but no luck after a few tries with setting it.

Have not used these functions in quite a while, but I believe the call is:

         [userdb function=get_shipping name=new2]

I any case, this is documented in the section on the userdb.

- Ed L.

>

===============================================================
Increase profits from your Interchange store...
http://www.newmediaems.com/cgi-bin/nm/software_fus.html
===============================================================
New Media E.M.S.               Software Solutions for Business
463 Main St., Suite D          eCommerce | Consulting | Hosting
Placerville, CA  95667         edl@newmediaems.com
(530) 622-9421                 http://www.newmediaems.com
(866) 519-4680 Toll-Free       (530) 622-9426 Fax
===============================================================