[comment]
ui_template: Yes
ui_template_name: fullwidth
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__
[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]
Comments/Note for Gift:[value gift_note] |
(Please print this receipt for your records. Thank you for your order!)
[include templates/components/specials]