Hi,
I'm having trouble getting the mini cart to work with my custom templates.
I follow the instructions and I get a strange error on the page. See this
page as an example:
http://www.aboutrubberstamps.com/test1.html
The template code is below: Can someone tell me what I'm doing wrong?
Tx
Dan
****************************************************************************
******
# Custom Four-Column Page Template for AboutRubberStamps
# <XMP> (this tag causes Internet Explorer to display this page as text,
# rather than trying to display it as HTML. You don't need it in your
# custom page template.)
# Begin defining the actual page
[--DEFINE PAGE--]
<html>
<head>
[-- VAR.MiniCartColor "black" --]
[-- VAR.MiniCartTextColor Page.LinkColor --]
[-- VAR.MiniCartHoverColor Page.ActiveLinkColor --]
[-- VAR.Media media/themesmedia --]
[-- IF MiniCart --]
[-- INCLUDE MiniCart.js PROCESS --]
[-- END_IF --]
[-- IF MiniCart --]
[-- INCLUDE Sidebar-MiniCart.css PROCESS --]
[-- END_IF --]
#
#Load the Pages's text's values into a VAR
#so it can be used in the product template
#
# Text1 is used for the main page description
[--VAR.TEXT1 PAGE.Text1 --]
# Text2 is used to go forward and back to other pages
[--VAR.TEXT2 PAGE.Text2 --]
# Text3 is used for the on page title
[--VAR.TEXT3 PAGE.Text3 --]
<title>[--Page.name--]</title>
<meta name="keywords" content="[--PAGE.MetaKeywords--]">
<meta name="description" content="[--PAGE.MetaDescription--]">
</head>
<!-- Set background image and page colors -->
<body background="http://www.aboutrubberstamps.com/media/bg-cream.gif"
width=1600 height=26 alt="Rubber Stamps"
bgcolor="[--PAGE.BackgroundColor--]" text="[--PAGE.TextColor--]"
link="[--PAGE.LinkColor--]" vlink="[--PAGE.VisitedLinkColor--]"
alink="[--PAGE.ActiveLinkColor--]" >
[--IF PAGE.DisplayPageHeader--]
[--HEADER--]
[--END_IF--]
<h1 align="center"><font face="Comic Sans MS" size="6"
color="#800040">[--VAR.TEXT3--]</font></h1>
[-- IF MiniCart --]
<script LANGUAGE="javascript">
DisplayMiniCart("ss_cart_[-- STORE_Serial_Number --]","Subtotal");
</script>
[-- END_IF --]
<table width="100% ">
<tr valign="top">
<td valign="top"><table border="1" width="100%" cellpadding="4"
cellspacing="1">
<tr>
<td width="20%" valign="middle"><p align="center"><font
color="#800040" face="Comic Sans MS" size="2"><a
href="http://www.aboutrubberstamps.com/discount.html">Rubber stamps
highly discounted!!</a><br>
</font><a
href="http://www.aboutrubberstamps.com/discount.html"><img
src="http://www.aboutrubberstamps.com/media/discount.gif"
alt="Buy more rubber stamps, pay less" border="0" width="79"
height="71"></a></td>
<td width="150%" valign="top"><font face="Comic Sans MS" size="2"
color="#800040">[--VAR.TEXT1--]
<br>
<br>[-- PrevNext --]
</font></td>
<td width="25%" valign="middle"><p
align="center"><font face="Comic Sans MS"><a
href="http://www.aboutrubberstamps.com/email.html"><font size="2"
color="#009933"><b>$50</b></font><font color="#800040" size="2">
Worth of Free Stamps!</font></a><font size="1"
color="#800040"><br>
</font></font><a href="http://www.aboutrubberstamps.com/email.html">
<img
src="http://www.aboutrubberstamps.com/media/signup.gif" alt="Rubber
stamps Newsletter"
border="0" width="90" height="64"></a></td>
</tr>
</table>
</td>
</tr>
</table>
#
# This layout uses a four-column table, with the products in the columns
#
<!-- Begin Table of Products -->
#
# Change this value to change number of columns
# Can also use actual number or Page.Columns
#
[-- VAR.COL 4 --]
<table width="100%" cellspacing="5">
[--LOOP PRODUCTS VAR.col --]
<td valign=top align=center >
[--PRODUCT--]
</td>
[--END_LOOP PRODUCTS--]
</table>
<!-- End Table of Products -->
<center>
[--SEARCH_FORM--]
</center>
</td>
</tr>
</center>
[-- PrevNext --]
# This tag is used if there is more than 1 page
[--IF PAGE.text2--]
<hr>
[--VAR.TEXT2--]
<hr>
[--ELSE--]
<hr>
[--END_IF--]
# Display the page footer
[--FOOTER--]
</body>
</html>
[--END_DEFINE PAGE--]
****************************************************************************
************************************