|
Home > Archive > Commerce Server General > August 2005 > Billing and Shipping address
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Billing and Shipping address
|
|
| DouglasGG 2005-08-09, 5:53 pm |
| On the checkoutshipping.aspx screen, we have a list box where the user can
select one of his addresses as the shipping address. As the program works
right now, it ignores this selection and always uses your Preferred address.
Tracing through the code I can tell that it does initially set the shipping
address correctly, but then it gets undone. I have the feeling it is because
we are using the Address Selector (AddressSelector.cs) on more than one
screen. We also use it again on our checkoutpayment.aspx page for the user
to have a choice of selecting a different billing address.
Has anyone else had a problem with having the user being able to change
their billing and shipping address to be different from their Preferred
Address?
Thanks,
Doug
| |
| Joe Wasson [MSFT] 2005-08-17, 5:57 pm |
| I assume that this is with the Commerce Server 2002 Starter Site?
The AddressSelector control shouldn't be setting the shipping address (or
any address in your order form) automatically, therefore it should be safe
to use this on multiple pages.
One possible explanation is that you aren't setting "SelectedAddress" in
your Page_Load event. The control automatically "selects" the preferred
address if "SelectedAddress" has not been set. In your Page_Load event you
should set SelectedAddress to whichever address the user has already
selected for the shipping address (or null if no address has been selected
yet).
If that doesn't solve your question I'll need more information. Are you
using the CheckoutShipping page as-is (separate address per line item), or
are you modifying it to take a single shipping address for the entire
order? Are there any changes made to the site that might affect this
functionality?
-joe
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: =?Utf-8?B?RG91Z2xhc0dH?= <DouglasGG@discussions.microsoft.com>
Subject: Billing and Shipping address
Date: Tue, 9 Aug 2005 06:08:02 -0700
On the checkoutshipping.aspx screen, we have a list box where the user can
select one of his addresses as the shipping address. As the program works
right now, it ignores this selection and always uses your Preferred
address.
Tracing through the code I can tell that it does initially set the shipping
address correctly, but then it gets undone. I have the feeling it is
because
we are using the Address Selector (AddressSelector.cs) on more than one
screen. We also use it again on our checkoutpayment.aspx page for the user
to have a choice of selecting a different billing address.
Has anyone else had a problem with having the user being able to change
their billing and shipping address to be different from their Preferred
Address?
Thanks,
Doug
| |
| DouglasGG 2005-08-18, 5:52 pm |
| That did the trick, setting the shipping address in the load event. Just to
let you know, we are using the MSIB21 site...I came in at mid-project, so I
don't know what changes were made to the site in regards to the checkout
pages...
Thanks again,
Doug
"Joe Wasson [MSFT]" wrote:
> I assume that this is with the Commerce Server 2002 Starter Site?
>
> The AddressSelector control shouldn't be setting the shipping address (or
> any address in your order form) automatically, therefore it should be safe
> to use this on multiple pages.
>
> One possible explanation is that you aren't setting "SelectedAddress" in
> your Page_Load event. The control automatically "selects" the preferred
> address if "SelectedAddress" has not been set. In your Page_Load event you
> should set SelectedAddress to whichever address the user has already
> selected for the shipping address (or null if no address has been selected
> yet).
>
> If that doesn't solve your question I'll need more information. Are you
> using the CheckoutShipping page as-is (separate address per line item), or
> are you modifying it to take a single shipping address for the entire
> order? Are there any changes made to the site that might affect this
> functionality?
>
> -joe
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
> --------------------
> From: =?Utf-8?B?RG91Z2xhc0dH?= <DouglasGG@discussions.microsoft.com>
> Subject: Billing and Shipping address
> Date: Tue, 9 Aug 2005 06:08:02 -0700
>
> On the checkoutshipping.aspx screen, we have a list box where the user can
> select one of his addresses as the shipping address. As the program works
> right now, it ignores this selection and always uses your Preferred
> address.
>
> Tracing through the code I can tell that it does initially set the shipping
> address correctly, but then it gets undone. I have the feeling it is
> because
> we are using the Address Selector (AddressSelector.cs) on more than one
> screen. We also use it again on our checkoutpayment.aspx page for the user
> to have a choice of selecting a different billing address.
>
> Has anyone else had a problem with having the user being able to change
> their billing and shipping address to be different from their Preferred
> Address?
>
> Thanks,
> Doug
>
|
|
|
|
|