[set page_title][L]Order Entry[/L][/set] [set ui_class]Orders[/set] [set help_name]order_entry.main[/set] [set icon_name]icon_orders.gif[/set] [seti meta_header] [/seti] @_UI_STD_HEAD_@
[item-list] [/item-list]

[L]SKU[/L]

 

[L]Description[/L]

[L]Quantity[/L]

[L]Price[/L]

 

[L]Extension[/L]

[search-region prefix=sku] [if value mv_search_match_count] [/else] [/if] [search-list] [/if] [/search-region]        
remove   [item-code]   [page [item-code]][item-description] [if-item-field weight]    WEIGHT: [summary amount=`[item-quantity] * [item-field weight]`] [/if-item-field]     [if-item-data options o_enable]
[table-organize cols=2] [item-options td=1] [/table-organize]
[/if-item-data]
[discount-price] [if discount [item-code]]
[L]Item is discounted[/L] [item-discount] [/if]
  [item-subtotal]
                [summary format="[L]Shipping weight[/L]: %s" total=1]
[L]Subtotal[/L]   [subtotal]
[L]Shipping[/L]   [shipping]
[L]Tax[/L]   [salestax]
[L]TOTAL[/L]   [total-cost]
[if type=explicit compare="[error all=1 show_var=1 keep=1]"]

There were errors in your last entry. They are shown in this color below.

[/if] [comment] checkout_profile in etc/profiles.order [/comment] [comment] Order routes in catalog.cfg [/comment]
[L]Shipping Address[/L]
[calc] return unless $CGI->{customer}; $Values->{customer_id} = $CGI->{customer} unless $CGI->{customer} eq 'NEW'; for (qw/ username password company fname lname address1 address2 address3 city state zip country phone_day mv_shipmode b_nickname b_fname b_lname b_address1 b_address2 b_address3 b_city b_state b_zip b_country b_phone mv_credit_card_type mv_credit_card_exp_month mv_credit_card_exp_year mv_credit_card_info email fax phone_night fax_order order_numbers email_copy mail_list /) { $Values->{$_} = ''; } [/calc] [loop list=`$Values->{customer_id} || 'NEW'`] [set [L]Find[/L]] mv_nextpage=__UI_BASE__/entry_select mv_change_frame=select mv_todo=back [/set] [set [L]Clear[/L]] customer_id= customer=NEW mv_todo=return [/set]
[L]Customer ID[/L] [L]New customer[/L]
[error name=fname std_label="[L]First Name[/L]" required=1] [error name=lname std_label="[L]Last Name[/L]" required=1] 
[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] [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] [value name=country set="[value name=country default='[loop-data userdb country]']" hide=1] [if value country =~ /(^$|US|CA)/] [else] [/else] [/if] [L](will update display)[/L]
[error name=phone_day std_label="[L]Daytime Phone[/L]" required=1]
[error name=phone_night std_label="[L]Evening Phone[/L]" required=0]
 
  [msg arg.0="" arg.1=""]%sBold%s fields needed to process the order[/msg]
[set only_downloadable]1[/set] [set some_downloadable][/set] [item-list] [if-item-field weight][set only_downloadable][/set][/if-item-field] [if-item-field download][set some_downloadable]1[/set][/if-item-field] [/item-list] [if !scratch only_downloadable]

[L]Choose your shipping method[/L]

[if session ship_message]
[L]Note:[/L] [data session ship_message]
[/if]
[/if] [if variable CREDIT_CARDS_ACCEPTED =~ /\S/]
[error std_label="Credit Card Information" name=mv_credit_card_valid]

Card Number
[if variable MV_PAYMENT_MODE =~ /minivend_test/]
Interchange test should yield: Success Failure [/if]
Expires
Charge credit card
[if variable CHECK_ACCEPTED] Call customer for payment information
[/if] [if variable PO_ACCEPTED] I will pay by purchase order [error name=credit_limit_ok std_label="PO Number" required=1]  [if type=data term="userdb::credit_limit::[value customer_id]" op=">" compare=0.01]
Current credit limit: [currency] [data table=userdb col=credit_limit key="[value customer_id]"] [/currency] [if type=data term="userdb::credit_limit::[value customer_id]" op=< compare="[total-cost noformat=1]" ]
Order total [total-cost] exceeds credit limit, please call. [/if]
[/if]
[/if] [if variable COD_ACCEPTED] I will pay by COD ([handling cod] extra charge will be added)
[/if]
Billing Address (if different)
Name: First Last
Address
City State Postal Code
Country

Email preferences
Yes No Send an email copy of my receipt
Yes No Put customer on email information list

[set [L]Place Order[/L]] mv_todo=submit mv_nextpage=admin/order [value name=mv_order_route set="log_entry main copy_user" hide=1] [/set]

Gift note or Special Instructions
[/loop] [error all=1 hide=1 comment="Clear errors"] __MENUBOTTOM__ __COPYRIGHT__ @_UI_STD_FOOTER_@