$page_title

<%= $page_title %>

<% # This page performs a number of different functions depending on how it's # accessed. # Therefore the content needs to be contained inside a Tcl "if statement". # Here's the "if statement". If you modify any of the text, make sure you # put a backslash before any embedded quotation marks you add. if { $page_function == "view" } { set page_contents "
$hidden_form_variables
Saved on $saved_date

$shopping_cart_items

" if { $product_counter == 0 } { append page_contents "Your Shopping Cart is empty." } } elseif { $page_function == "retrieve" } { set page_contents "
[export_form_vars order_id] You currently already have a shopping cart. Would you like to merge your current shopping cart with the shopping cart you are retrieving, or should the shopping cart you're retrieving completely replace your current shopping cart?

" } elseif { $page_function == "discard" } { set page_contents "
$hidden_form_variables If you discard this shopping cart, it will never be retrievable. Are you sure you want to discard it?

" } # OK, that's all the Tcl. Not too bad. Just make sure that all embedded # quotation marks have a backslash before them (\"), otherwise you'll get # an error. %> <%= $page_contents %>