[prev in list] [next in list] [prev in thread] [next in thread] 

List:       interchange-users
Subject:    Re: [ic] Getting "default shipping" to reload after an
From:       Brian Kaney <brian () vermonster ! com>
Date:       2005-01-28 6:08:32
Message-ID: 20050128010832.2w4oowgk4kocsowc () webmail ! vermonster ! com
[Download RAW message or body]

On Thu, 27 Jan 2005 Mike Heins <mike@perusion.com> wrote:
>
> Quoting Brian Kaney (brian@vermonster.com):
>> I've been trying this one for hours and can't figure it out.  I've
>> loaded an address using:
>>
>> [userdb function="get_shipping" nickname="alternate_shipping_2"]
>>
>> So the [value address1] and [value address2] are from my serialized data
>> from the userdb.address_book column, which is great.
>>
>>
>>
>> Question: How do I then reload/revert to the "default" shipping data
>> (i.e. userdb.address1, userdb.address2, etc) after an address book has
>> been loaded?
>>
>>
>>
>> I've tried unsuccessfully tried these revert:
>>
>> [userdb function="get_shipping" nickname=""]
>> [userdb function="get_shipping"]
>>
>> My last ditch effort is to manually override the values in a big
>> [set][/set], but there must be a built-in way I've missed!
>>
>
> Can't do it for just the shipping values unless you first save
> a "default" setup. If you don't mind overwriting every value that
> has not been saved....
>
>     [userdb function=get_values]
>

So you are suggesting that the best option for me is to save the userdb.fname,
userdb.lname, userdb.company, etc. in the address_book as a "default" entry
when the account is created?  I guess using this method I could ignore the
userdb.* stuff and only allow the user to select from the address_book at
checkout.

- Brian


_______________________________________________
interchange-users mailing list
interchange-users@icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic