[comment] ui_template: Yes ui_template_name: noleft [/comment] [tmp page_title]__COMPANY__ -- Check Out[/tmp] @_NOLEFT_TOP_@ [perl tables="country products"] my $db = $Db{country} or return; my $domestic = $Variable->{DOMESTIC_SHIPPING} || 'US CA'; $domestic =~ s/\W+/ /g; my @dom = grep /\S/, split /\s+/, $domestic; my %dom; @dom{@dom} = @dom; my $modes; if($Values->{country}) { $modes = tag_data('country', 'shipmodes', $Values->{country}); @modes = grep /\S/, split /[\s,\0]+/, $modes; } delete $Scratch->{only_download}; my $hardgoods; for(@$Items) { next if tag_data('__ProductFiles_0__', 'download', $_->{code}); $hardgoods = 1; } ! $hardgoods and $Scratch->{only_download} = 1; return unless @modes; my %modes; @modes{@modes} = @modes; if(! $modes{$Values->{mv_shipmode}}) { $Values->{mv_shipmode} = shift @modes; } return; [/perl]
[if !session logged_in]

If you have an account with us, please login using the fields below. It is not required, but you can also create an account with us.

[if session failure]

[calc]delete $Session->{failure}[/calc]

[/if]

[set Log In] mv_nextpage=@@MV_PAGE@@ [/set]
Username:
Password:
 
Log me in automatically (sets cookie)

 

[/if]
[if type=explicit compare="[error all=1 show_var=1 keep=1]"]

There were errors in your last submission:

[error all=1 keep=1 show_error=1 show_label=1 joiner="
"]

The areas you need to correct are shown in this color below.

[/if] [comment] Order routes in catalog.cfg [/comment] [if session logged_in] [set Save_database] [if cgi mv_todo ne submit] [calc] Log("Saving userdb in mv_check.")[/calc] [userdb save] [/if] [/set] [/if]
Please verify the information below and click the "Place Order" button to process your order.

[if items] [then] [item-list modular=1] [if session logged_in] [/if] [/item-list] [/then] [else] [/else] [/if]
 Remove SKU Description Quantity Price Extension 
[item-sku] [page [item-sku]][item-data products description] [if scratch dealer] [if-item-data pricing sku]
[page quantity [item-code]] QUANTITY PRICING [/if-item-data] [/if] [if-item-data options o_enable] [if-item-data !options o_modular] [table-organize cols=4 table=' ' font="size=1" pretty=1] [item-options td=1 label=1 bold=1 price=1] [/table-organize] [/if-item-data] [/if-item-data] [if-item-field weight] [seti weight][summary amount=`[item-quantity] * [item-field weight]`][/seti] [/if-item-field]
[discount-price] [if discount [item-code]]
Item is discounted [item-discount][/if]
[item-subtotal]
[if value separate_addresses] [page href="@@MV_PAGE@@" form=" separate_addresses=0 mv_action=return "]Same shipping address
[page href="ord/basket" form="edit_addresses=1"]Edit address
[page href="ship_addresses" form="ui_return_to=@@MV_PAGE@@"]Add address [else] [page href="@@MV_PAGE@@" form=" separate_addresses=1 mv_action=return "]Separate shipping [/else] [/if]
[if value separate_addresses]
[item-modifier mv_ad]
[/if] 
No items at the moment.

[if items] [/if] [if value mv_handling] [/if]
Subtotal: [subtotal]
Sales Tax: [salestax]
Shipping: [shipping]
Handling: [handling]
TOTAL: [total-cost]

[if scratch dealer] [if session ship_message] [/if]
 
 Shipping Address (primary)    
 
[error name=fname std_label="First Name" required=1] [error name=lname std_label="Last Name" required=1]
[error name=company std_label=Company required=1] [else] Company [/else] [/if]    
[error name=address1 std_label=Address required=1]
 
[error name=city std_label="City" required=1]    
[error name=state std_label="State/Province" required=1] [loop search=" fi=state.txt sf=country se=[default country US] rf=state,name,country tf=sorder,name ml=100 " option=state] [on-match][/on-match] [no-match][/no-match] [/loop]    
[error name=zip std_label="Zip/Postal Code" required=1]    
[error name=email std_label="Email Address" required=1]    
Country [if value country =~ /(^$|US|CA)/] [else] [/else] [/if] (will update display)
[error name=phone_day std_label="Daytime Phone" required=1] [error name=phone_night std_label="Evening Phone"]
  Note: [data session ship_message]
Shipping method
  We need the bold fields to process your order
       
Mailing Status  
Send an email copy of my receipt    
  [perl tables="__UI_META_TABLE__ mv_metadata"] return; [/perl] [input-filter name=mail_list op=null_to_space][/input-filter] [display table=userdb type=multiple column=mail_list key="[data session username]"] Mail lists (if any)    

 

 Billing Address - If different than above    
First Name Last Name
Company    
Address
 
City State/Province
Zip/Postal Code    
Country    
       
Payment Method  
 
  (will update display)
 
[if !value payment_method] [or value payment_method eq credit] [then]

 

[error std_label="Credit Card Information" name=mv_credit_card_valid] [if variable MV_DEMO_MODE]
(test number 4111 1111 1111 1111)[/if]
[calc] my $accepted = $Variable->{CREDIT_CARDS_ACCEPTED}; my (@out); my (@cc); my $out; push @cc, 'visa' if $accepted =~ /visa/; push @cc, 'mc' if $accepted =~ /mc/; push @cc, 'disc' if $accepted =~ /discover/; push @cc, 'amex' if $accepted =~ /amex/; for (@cc) { push @out, qq{}; } return join '  ', @out; [/calc]
Card Number:
Expiration:
[/then] [elsif value payment_method eq postal] [/elsif] [elsif value payment_method eq cod] [/elsif] [elsif value payment_method eq check]

 

Check Information    
Account Number
Routing Number
Check Number
[/elsif] [elsif value payment_method eq po]

 

[if type=data term="userdb::credit_limit::[data session username]" op=">" compare=0.01] [/if]
P.O. Information  
[error name=credit_limit_ok std_label="PO Number" required=1]
Available credit [currency] [data table=userdb col=credit_limit key="[data session username]"] [/currency] [if type=data term="userdb::credit_limit::[data session username]" op=< compare="[total-cost noformat=1]" ]
Order total [total-cost] exceeds credit limit, please call. [/if]
[/elsif] [else] [/else] [/if]

[if items] [else] [/else] [/if]
[button name="mv_click" src="__THEME__/placeorder.gif" text="Place Order" hidetext=1 form=checkout ] mv_todo=submit [/button] [button name="mv_click" src="__THEME_IMG_DIR__recalculate_button.gif" text="Recalculate" hidetext=1 form=checkout ] mv_todo=refresh [/button] No items in your shopping cart!
[seti clear_errors][error all=1 hide=1 comment="Clear errors"][/seti]

[include templates/components/specials]

@_NOLEFT_BOTTOM_@