States in Shipping Section of Checkout
Where are the list of states that are shown on the Shipping section of the Checkout widget retrieved from? And can that list be modified? (ex. add Guam)
I'd also like to show that list of states in a custom widget. So hopefully there's a way to retrieve the list too.
After some investigating, it looks like the states that are listed in the Checkout widget are from a hard-coded list; there doesn't appear to be any way to modify the list.
Hi Joyce,
At this time, the states are hardcoded and cannot be modified. You would need to write your custom checkout widget in order to modify the states. There will be a blog post out in a week or two that explains how to do a custom checkout.
This is the code if you wish to add this to a custom widget.
<telerik:RadComboBox id=
"ddStateShipping"
runat=
"server"
Skin=
"Sitefinity"
Width=
"205"
Height=
"250"
/>
ddStateShipping.LoadUSStates();