[ic] Getting "default shipping" to reload after an
brian at vermonster.com
Fri Jan 28 01:08:32 EST 2005
On Thu, 27 Jan 2005 Mike Heins <mike at perusion.com> wrote:
> Quoting Brian Kaney (brian at 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
More information about the interchange-users