[comment]
ui_template: Yes
ui_template_name: noleft
ui_template_layout: NOLEFT_TOP, UI_CONTENT, NOLEFT_BOTTOM
ui_template_description: Page with top/bottom areas only, content in middle.
page_title:
description: Page title
page_banner:
description: Page banner
help: defaults to page_title
bgcolor:
options: #FFFFFF=white, pink=pink
description: Background color
widget: select
members_only:
options: 1=Yes,0=No*
description: Members only
widget: radio
[/comment]
[set page_title]__COMPANY__ -- Receipt[/set]
[set page_banner]Thank you![/set]
__NOLEFT_TOP__
ORDER NUMBER | [value mv_order_number] |
---|---|
Name | [value fname] [value lname] |
Company | [value company] |
Email Address | [value email] |
Address | [value address1] |
[value address2] | |
City, State, Zip | [value city], [value state] [value zip] |
Country | [value country] |
Payment Method | [value mv_payment] |
Shipping Method | [shipping_desc] |
Handling Charge |
[loop list="[value mv_handling]"]
[loop-change 1]
[condition]1[/condition]
[else] [/else] [/loop-change 1] [either][shipping_desc mode="[loop-code]"][or]CHARGED[/either] [/loop] |
Daytime Phone | [value phone_day] |
Evening Phone | [value phone_night] |
Billing Name | [value b_fname] [value b_lname] |
Billing Address | [value b_address1] |
[value b_address2] | |
City, State, Zip | [value b_city], [value b_state] [value b_zip] |
Billing Country | [value b_country] |
[comment] Handle downloadables [/comment]
[set download_present][/set]
[item-list]
[if-item-field download]
[if !value fax_order]
[set download_present]1[/set]
[userdb
function=set_file_acl
mode="expire 7 days"
location="[item-code]"
]
[/if]
[/if-item-field]
[/item-list]
[perl products]
sub get_download {
if (! $Scratch->{download_present}) {
return '(Must pay by credit card to download now.)';
}
my $sku = shift;
return '' unless tag_data('products', 'download', $sku);
my $loc = tag_data('products', 'dl_location', $sku);
my $save = delete $Scratch->{mv_add_dot_html};
my $url = $Tag->area( { href => "deliver/$loc", arg => $sku } );
$Scratch->{mv_add_dot_html} = $save if $save;
return qq{};
}
return;
[/perl]
[L]Quan[/L] | [L]Item No.[/L] | [L]Description[/L] | [L]Price[/L] | [L]Extension[/L] | [item-list modular=1]
---|---|---|---|---|
[item-quantity] | [item-code] |
[item-description]
[if-modifier size] SIZE-->[item-modifier size][/if-modifier][if-modifier color] COLOR-->[item-modifier color][/if-modifier] [if-item-field download] [calc]get_download('[item-code]')[/calc] [/if-item-field] [if-item-modifier mv_ad] SHIP TO: [item-modifier mv_ad][/if-item-modifier] |
[item-price] | [item-subtotal] | [/item-list]
SUBTOTAL | [subtotal] | |||
SALES TAX | [salestax] | |||
SHIPPING | [shipping] | |||
HANDLING | [handling] | |||
ORDER TOTAL | [handling] | |||
Comments/Note for Gift: |
[value gift_note] |
(Please print this receipt for your records. Thank you for your order!)
[include templates/components/specials]