[set checkout_profile] name=required address=required city=required country=required state=state zip=zip email=required phone_day=phone email=email &fatal = yes [if value fax_order] &set = mv_payment Call Us [elsif config CreditCardAuto] &set = mv_payment Credit Card ([default mv_credit_card_type]) mv_credit_card_info=required [/elsif] [else] &set = mv_payment Credit Card ([default mv_credit_card_type]) [/else] [/if] &final = yes &set=mv_email [value email] [/set] [if base=data term="country::shipmodes::[default country US]" op="=~" comp="[default mv_shipmode upsg]"] [then] [default name="country" default=US set=1] [default name="mv_shipmode" default=upsg set=1] [/then] [else] [perl values] $ship = tag_data('country', 'shipmodes', $Safe{'values'}{country}); $out .= $ship; $ship =~ s/\s+.*//; $Safe{'values'}{mv_shipmode} = $ship; return ''; [/perl] [/else] [/if]
[page href=""]__COMPANY__ Logo
[if items] [then] [item-list] [/item-list]
[L]Order details[/L]
remove [page [item-code]][item-description] [item-accessories size][item-accessories color] [item-quantity] @ [item-price] [item-subtotal]
[L]Subtotal[/L] [subtotal]
[L]Sales Tax[/L] [salestax]
[L]Shipping[/L] [shipping]
[L]TOTAL[/L] [total-cost]

[/then] [else]

[L]No items in your basket.[/L]

[L]You can enter information, and it will be saved, but no checkout will happen until you order something![/L] [/else] [/if]
[L]Shipping Address[/L]
[L]Name[/L]
[L]Address[/L]


[L]City[/L]

[L]State/Province[/L]

[L]Zip/Postal Code[/L]
[L]Email Address[/L]
[L]Country[/L] [if value country eq 'US'] [else] [/else] [/if]
[L]Daytime Phone[/L]
[L]Evening[/L]
[L]We need these fields to process your order[/L]
[L]Choose your shipping method[/L]

[if session ship_message]
[L]Note[/L]: [data session ship_message]
[/if]
[L]Credit Card Information[/L]
[if value mv_credit_card_info]

(A valid [help name="[default mv_credit_card_type]"] number is on file.
If you need to change it, re-enter the number. Otherwise, leave it blank and
press Next Screen
.)

[/if]

[L]Card Number[/L]
[if value mv_credit_card_valid] [else] [/else] [/if]
[L]Expires[/L]
[L]Pay by credit card[/L]
[L]I will call with payment information[/L]
[L]Force this card number to be taken[/L]
[L]Billing Address (if different)[/L]
[L]Name[/L]
[L]Address[/L]
[L]City[/L], [L]State[/L], [L]Postal Code[/L]
[set [L]Place Order![/L]] mv_todo=submit [/set] [if session logged_in] [then] Save my information in the database [set Save_database] mv_arg0=LITERAL(save) mv_username=[value mv_username] mv_subroutine=userdb [/set] [/then] [else] [L]I plan on returning, save my information[/L] [if config EncryptProgram =~ /pgp/] (credit card is encrypted with PGP!) [else] [L](OOPS! credit card not encrypted with PGP)[/L] [/else][/if]
[/else][/if]


[include pages/buttonbar.html]