[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] Getting "default shipping" to reload after an address_book


On Thu, 27 Jan 2005 Mike Heins <suppressed> wrote:

Quoting Brian Kaney (suppressed):
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
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.