Custom Templates Problem

This is an archive of old posting to the User Forum

Custom Templates Problem

Postby Vince Salese » Sat Sep 13, 2003 8:19 am

I created and uploaded a custom product and page template lifted directly
from SS Multi Product Order
http://www.shopsite.com/help/6.3/en-US/ ... ti-add.htm
l


I've created test products and a test page using the new templates. However,
the page is not displaying properly. The database tags are populating
properly, but what displays is the html code.
http://www.ahoycaptain.com/shop/testpage.html

The SS tutorial says that templates do not have extensions. The files I
uploaded are .txt files.

What am I missing here?
Vince Salese
 

Re: Custom Templates Problem

Postby Brandon Eley » Sat Sep 13, 2003 8:47 am

The source is displaying, but it's because it's not the actual source
code... look at the actual complete source by going to view>source. For
some reason your template is not working - can you post your template??


<html>

<head>
<meta name="generator" content="ShopSite Pro 6.3.0 (Multi.Product.Page)">

<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 2</title>
</head>

<body>

<pre>




<HTML>
<BODY>
test page
<H2>This page demos the add to cart FORM</H2>
<p>Check the boxes of the product(s) you wish to order.
Press the "Add to Cart" button and all checked products will
be added to your shopping cart. You can also change the quantity
of any checked product to order more than one if so desired.</p>

<HR>


<FORM
action="http://www.ahoycaptain.com/cgi-bin/sb/order.cgi"
method=post>


<input type=image
src="http://www.ahoycaptain.com/shop/media/add_to_cart.gif"
width=83 height=20 alt="add_to_cart.gif" hspace=3 vspace=3
border=0 align="bottom" name="Add to Cart"
alt="Add to Cart">

<input type=image
src="http://www.ahoycaptain.com/shop/media/view_cart.gif"
width=71 height=20 alt="view_cart.gif" hspace=3 vspace=3
border=0 align="bottom" name="View Cart"
alt="View Cart">
<BR>



<!--- rec 1112 -->
<a name="1112"></a>
<div class=Code><pre>





<P><input type=checkbox name=itemnum value=1112>

new product 1
$1,000.00





<BR><!-- Empty field [ProductDescription] -->





</P>

</pre></div><!-- START OF SHOPSITE FOOTER -->






















</body>

</html>

<!--- rec 1113 -->
<a name="1113"></a>
<div class=Code><pre>





<P><input type=checkbox name=itemnum value=1113>

new product 2
$900.00




<BR><!-- Empty field [ProductDescription] -->





</P>

</pre></div><!-- START OF SHOPSITE FOOTER -->






















</body>

</html>



<input type=hidden name=storeid
value=*1ea5d605e80c1dfdf171a4c7858f74a45d>
<input type=hidden name=dbname value=products>
<input type=hidden name=function value=add>


<input type=image
src="http://www.ahoycaptain.com/shop/media/add_to_cart.gif"
width=83 height=20 alt="add_to_cart.gif" hspace=3 vspace=3
border=0 align="bottom" name="Add to Cart"
alt="Add to Cart">

<input type=image
src="http://www.ahoycaptain.com/shop/media/view_cart.gif"
width=71 height=20 alt="view_cart.gif" hspace=3 vspace=3
border=0 align="bottom" name=" View Cart"
alt="View Cart">

</FORM>
</body>
</html>

</pre>

</body>

</html>


Vince Salese wrote:
I created and uploaded a custom product and page template lifted directly
from SS Multi Product Order
http://www.shopsite.com/help/6.3/en-US/ ... ti-add.htm
l


I've created test products and a test page using the new templates. However,
the page is not displaying properly. The database tags are populating
properly, but what displays is the html code.
http://www.ahoycaptain.com/shop/testpage.html

The SS tutorial says that templates do not have extensions. The files I
uploaded are .txt files.

What am I missing here?



--

---------------
Brandon Eley
2BigFeet.com
brandon@2bigfeet.com
www.2bigfeet.com
Brandon Eley
 


Return to User Forum Archive

Who is online

Users browsing this forum: No registered users and 48 guests