File: web_store_html_lib.pl
Subroutines: html_search_page_footer, modify_form_footer,
delete_form_footer, cart_footer, bad_order_note
We use an HTML-based store, and I wanted customers to see the same look
on the generated search results page, the view cart page, etc. So I
added this line (with the appropriate name) to the subroutines listed
above:
&display_page("$sc_html_product_directory_path/footer.htm", "**NAME OF
FOOTER**", __FILE__, __LINE__);
"footer.htm" is just a regular HTML file in our HTML/Products directory.
Here's an example of how I twiddled one routine to work it in:
sub html_search_page_footer
{
local($hidden_fields) = &make_hidden_fields;
print qq!
!;
&display_page("$sc_html_product_directory_path/footer.htm", "HTML
Search Page Footer", __FILE__, __LINE__);
print qq!