[comment] ui_template: Yes ui_template_name: noleft [/comment] [tmp page_title]__COMPANY__ -- [L]Shipping Address[/L][/tmp] @_NOLEFT_TOP_@ [include include/checkout/initialization] [if session logged_in] [if cgi get_shipping] [userdb function=get_shipping nickname="[cgi get_shipping]" hide=1] [tmp get_message](set from [cgi get_shipping])[/tmp] [/if] [userdb get_shipping_names] [else] [value name=address_book set=""] [/else] [/if] [form-session-id]

[if !variable NO_TAX_POPUP] [comment] This is JavaScript that pops up a tax message when in simple tax mode [/comment] [include include/checkout/tax_popup] [/if] [if type=explicit compare="[error all=1 keep=1]"] [tmp error_display] [L]There were errors in your last submission[/L]: [error all=1 keep=1 show_error=1 show_label=1 joiner=" "] [msg arg.0="" arg.1=""]Please correct the areas listed above which are highlighted in %sthis color%s in the form.[/msg] [/tmp] [/if] [set Check_shipping] &fatal=no &update=yes [calc] if ($CGI->{state_cs_in} && !$CGI->{state}){ $CGI->{state} = $CGI->{state_cs_in}; } return; [/calc] __COMMON_ORDER_PROFILE__ &fail=@@MV_PAGE@@ &fatal=yes email=email [/set] [comment] Form intro -- the input elements are largely in the individual tables in include/checkout/* [/comment]
[L]Shipping Address[/L] [scratch get_message]
[error name=fname std_label="[L]First Name[/L]" required=1] |  | [error name=lname std_label="[L]Last Name[/L]" required=1] |
[error name=company std_label="[L]Company[/L]" required="[scratch dealer]"] |
[error name=address1 std_label="[L]Address[/L]" required=1] |
[error name=city std_label="[L]City[/L]" required=1] |
[error name=state std_label="[L]State/Province[/L]" required=1] | [display name=state type=state_select value="[value state]"]
[error name=zip std_label="[L]Zip/Postal Code[/L]" required=1] |
[error name=email std_label="[L]Email Address[/L]" required=1] |
[L]Country[/L] | [display name=country type=country_select value="[value country]"]
[L]Residential?[/L] | [display name=mv_ship_residential type=radio value="[value mv_ship_residential]" passed="=No,1=Yes" ]
[error name=phone_day std_label="[L]Daytime Phone[/L]" required=1] |  | [error name=phone_night std_label="[L]Evening Phone[/L]"] |
| [L]We need the bold fields to process your order[/L]
| Billing is same as this address [if value address_book] [L]Use account from address book[/L]: | [loop list="[value address_book]"] [page href=@@MV_PAGE@@ form="get_shipping=[loop-code]" ][loop-code] - [data table=userdb col=address_book.[loop-code].city key="[data session username]" serial=1] | [/loop] [/if] [if session logged_in] [page href=member/ship_addresses form="destination=@@MV_PAGE@@"]Manage shipping addresses [/if]
[if scratch error_display]
| [scratchd error_display]
[/if]
[tmp clear_errors][error all=1 comment="Clear errors"][/tmp]

@_NOLEFT_BOTTOM_@