Store owner would like all instances where ship to type can be business or residence to default to residence. I found the places below and all were either already set to default to residence or were changed to do so.
1) During checkout on *//Checkout/Default.aspx, if the 'Ship to a different address' radio button is checked, the diff address form still defaults to 'This is a business'. Where do I change this?
2) Am am not sure if the Shipping Estimate on Shoppping Bar 1 ([[ConLib:MiniBasket]] ??) uses a business or residential since it is not selectable.
---------------------------------------------
Admin\Orders\PlaceOrder2.aspx(191)
<asp:ListItem Text="This is a residence" Value="1" Selected="true"></asp:ListItem>
<asp:ListItem Text="This is a business" Value="0"></asp:ListItem>
Admin\Orders\PlaceOrder2.aspx(315)
<asp:ListItem Text="This is a residence" Value="1" Selected="true"></asp:ListItem>
<asp:ListItem Text="This is a business" Value="0"></asp:ListItem>
Admin\Orders\Shipments\EditShipment.aspx(218)
<asp:ListItem Text="This is a residence" Value="1" Selected="true"></asp:ListItem>
<asp:ListItem Text="This is a business" Value="0"></asp:ListItem>
Admin\People\Users\EditUser.aspx(405)
<asp:ListItem Text="This is a residence" Value="1" Selected="true"></asp:ListItem>
<asp:ListItem Text="This is a business" Value="0"></asp:ListItem>
ConLib\CreateProfilePage.ascx(183)
<asp:ListItem Text="This is a residence" Value="1" Selected="true"></asp:ListItem>
<asp:ListItem Text="This is a business" Value="0"></asp:ListItem>
ConLib\EditBillAddressPage.ascx(120)
<asp:ListItem Text="This is a residence" Value="1" Selected="true"></asp:ListItem>
<asp:ListItem Text="This is a business" Value="0"></asp:ListItem>
ConLib\EditMyAddressPage.ascx(118)
<asp:ListItem Text="This is a residence" Value="1" Selected="true"></asp:ListItem>
<asp:ListItem Text="This is a business" Value="0"></asp:ListItem>
ConLib\EditShipAddressPage.ascx(121)
<asp:ListItem Text="This is a residence" Value="1" Selected="true"></asp:ListItem><asp:ListItem Text="This is a business" Value="0"></asp:ListItem>
ConLib\OnePageCheckout.ascx(319)
<asp:ListItem Text="This is a residence" Value="1" Selected="true"></asp:ListItem>
<asp:ListItem Text="This is a business" Value="0"></asp:ListItem>
ConLib\OnePageCheckout.ascx(319)
<asp:ListItem Text="This is a residence" Value="1" Selected="true"></asp:ListItem>
<asp:ListItem Text="This is a business" Value="0"></asp:ListItem>
ALL instances: Ship to Residence/Business default Residence
Re: ALL instances: Ship to Residence/Business default Residence
This occurs when a new blank address is created from the following line of code in InitializeAddressBook:ksolito wrote:1) During checkout on *//Checkout/Default.aspx, if the 'Ship to a different address' radio button is checked, the diff address form still defaults to 'This is a business'. Where do I change this?
Code: Select all
if (shippingAddress == null) shippingAddress = new Address();
Code: Select all
if (shippingAddress == null)
{
shippingAddress = new Address();
shippingAddress.Residence = true;
}
Re: ALL instances: Ship to Residence/Business default Residence
Hi ZLA,
What is the name of the file where that block of code is located?
I have looked the site over and I can't find it...
Thank you!
What is the name of the file where that block of code is located?
I have looked the site over and I can't find it...
Thank you!
AC 7.0.3 build 13937
Re: ALL instances: Ship to Residence/Business default Residence
OnePageCheckout.ascx.cs in Conlib folder or in Conlib/Custom if you've customized it.