I'm wondering if someone could please help me identify the root cause of this error I'm receiving for my more info product pages. I'm a novice to ShopSite tags, and I have been trying to pinpoint the root of this error for a couple hours now and it's driving me up the wall. I think I just need a second set of eyes and a point in the right direction here.
Error:
- Code: Select all
product.html [68]: Template Error: Page tag illegal for this type of template
product.html [69]: Template Error: Page tag illegal for this type of template
More Info Page custom template:
- Code: Select all
[-- DEFINE PRODUCT --]
[-- IF PRODUCT.Graphic --]
[-- IF PRODUCT.DisplayMoreInformationPage --]
<a href="[-- PRODUCT.MoreInfoURL --]">[-- PRODUCT.Graphic --]</a>
[-- ELSE --]
[-- PRODUCT.Graphic --]
[-- END_IF --]
[-- END_IF --]
[-- IF PRODUCT.DisplayMoreInformationPage --]
<a href="[-- PRODUCT.MoreInfoURL --]">[-- PRODUCT.Name --]</a>
[-- ELSE --]
[-- PRODUCT.Name --]
[-- END_IF --]
<form action="[-- SHOPPING_CART_URL BASE --]/order.cgi" method="post">
<input type="hidden" name="storeid" value="[-- STORE.ID --]">
<input type="hidden" name="dbname" value="products">
<input type="hidden" name="function" value="add">
<input type="hidden" name="itemnum" value="[-- PRODUCT.RecordNumber --]">
[-- IF PRODUCT.DisplayPrice --]
<br>
[-- IF PRODUCT.VariablePrice? --]
<b>[--STORE.Price --]:</b> [-- STORE.CurrencySymbol --]<input type=text name="[-- PRODUCT.RecordNumber --]:price" size="4" maxlength="10" value="">
[-- ELSE --]
[-- IF PRODUCT.SaleAmount --]
<strike>[-- PRODUCT.Price --]</strike>
[-- PRODUCT.SaleAmount --] [-- STORE.OnSaleText --]
[-- ELSE --]
[-- PRODUCT.Price --]
[-- END_IF --]
[-- END_IF --]
[-- END_IF --]
[-- PRODUCT.ProductDescription --]
[-- IF PRODUCT.DisplayOrderQuantity checked --]
<br>Quantity <input type="text" size="2" name="[-- PRODUCT.RecordNumber --]:qnty" value="1" >
[-- END_IF --]
<br>
[-- IF PRODUCT.DisplayOrderingOptions --]
<span class="opt_hdr">[-- PRODUCT.OptionText --]</span>
[-- Order_Option_Menu Column --]
[-- END_IF --]
[-- IF ADDIMAGE? --]
<input class="add" type="image" [--ADDIMAGE--]>
[-- ELSE --]
<input class="add" type="submit" value="[-- ADDTEXT --]">
[-- END_IF --]
</form>
[-- END_DEFINE PRODUCT --]
[-- DEFINE PRODUCT_CROSS_SELL --]
[-- INCLUDE cross-sell-default.sst PROCESS --]
[-- END_DEFINE PRODUCT_CROSS_SELL --]
[-- DEFINE MORE_INFO_PAGE --]
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" name="keywords" content="[-- PAGE.MetaKeywords --]">
<meta charset="utf-8" name="description" content="[-- PAGE.MetaDescription --]">
<title>Us and We Inc. [-- IF PRODUCT.MoreInformationTitle --][-- PRODUCT.MoreInformationTitle --][-- ELSE --][-- PRODUCT.Name REMOVE_HTML --][-- END_IF --]</title>
<script src="http://cdn.jquerytools.org/1.2.7/full/jquery.tools.min.js"></script>
<link rel="stylesheet" type="text/css" href="[-- STORE.Output_URL --]/publish/reset.css">
<link rel="stylesheet" type="text/css" href="[-- STORE.Output_URL --]/publish/styl.css">
<link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,400,600,700&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
</head>
<body>
<!-- ********* Header ********** -->
<div id="header">
<div id="header_in">
<div id="menu">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="shop.html" class="active">Shop</a></li>
<li><a href="blog.html">Blog</a></li>
<li><a href="TC.html">Tech Corner</a></li>
<li><a href="AC.html">About & Contact</a></li>
<li><a href="B2B.html">B2B</a></li>
</ul>
</div>
</div>
</div>
<!-- ********* Main part – headline ********** -->
<div id="main_part_inner">
<div id="main_part_inner_in">
<h2>Shop</h2>
<h3>[-- STORE.TextA --]</h3>
<!-- <div class="button_main">
<a href="download.html" class="button_dark">DOWNLOAD</a>
</div> -->
</div>
</div>
<!-- ********* Content ********** -->
<table align="center" width="100%">
<tr>
<td align="center">
<form action="[-- SHOPPING_CART_URL BASE --]/order.cgi" method="post">
[-- IF PRODUCT.MoreInformationGraphic --]
[-- MoreInfoImageRow --]
[-- END_IF --]
[-- IF PRODUCT.Subproduct --]
[-- ELSE --]
[-- INCLUDE Product-Sku PROCESS --]
[-- END_IF --]
<p class="ProductDescription">[-- PRODUCT.MoreInformationText --]</p>
[-- IF PRODUCT.VariablePrice? --]
[-- IF PRODUCT.VariableName? --]
<span class="VariableProductName">
[-- STORE.ProductName --]: <input type=text name="[-- PRODUCT.RecordNumber --]:name" size="20" maxlength="100" value="">
</span>
[-- ELSE --]
<span class="ProductName">[-- PRODUCT.Name --]</span>
[-- END_IF --]
[-- ELSE --]
<span class="ProductName">[-- PRODUCT.Name --]</span>
[-- END_IF --]
[-- IF PRODUCT.QuantityPricing --]
[-- ELSE --]
[-- INCLUDE Product-Price PROCESS --]<br />
[-- END_IF --]
[-- INCLUDE Product-AddToCartButton PROCESS --]
</form></td>
</tr>
</table>
[-- IF Product.MoreInformationProductCrossSell --]
[-- IF PRODUCT.CrossSell "0" --]
[-- ELSE --]
<table class="pcs_table">
<caption>[-- STORE.CartCrossSellHeader --]</caption>
[-- LOOP Product_Cross_Sell 3 --]
<td class="gcs_table_content">[-- PRODUCT_CROSS_SELL --]</td>
[-- END_LOOP Product_Cross_Sell --]
</table>
[-- END_IF --]
[-- END_IF --]
[-- IF Product.MoreInformationGlobalCrossSell --]
<table class="gcs_table">
<caption>[-- STORE.GlobalCrossSellHeader --]</caption>
[-- LOOP GLOBAL_Cross_Sell 3 --]
<td class="gcs_table_content">[-- GLOBAL_CROSS_SELL --]</td>
[-- END_LOOP Global_Cross_Sell --]
</table>
[-- END_IF --]
<!-- ********* Footer ********** -->
<hr class="cleanit">
<div id="footer">
<div id="footer_in">
<p><a href="http://creativecommons.org/licenses/by/3.0/">CC Attribution 3.0 Unported</a> — allowed for commercial and non-commercial use</p>
<span>Author: <a href="http://ries.cz">Vilém Ries</a></span>
</div>
</div>
</body>
</html>
[-- END_DEFINE MORE_INFO_PAGE --]
I basically followed the "quick & easy custom product template" step, and it's causing these errors above. Any help would be much appreciated.
Thanks.