My custom template is drawing a blank.

General ShopSite user discussion

My custom template is drawing a blank.

Postby Bashton » Thu Dec 03, 2009 4:20 pm

I'm trying to make a custom shopping cart template. I have my page designed. So, I used the Quick and Easy Custom Shopping Cart Template tutorial.

It was quick and easy, but when I try to use it, the shopping cart page comes up blank. Just a white page. There is nothing in the page source either.

I figure I am doing some very basic thing wrong. Any idea what it might be?
Bashton
 
Posts: 14
Joined: Thu Dec 03, 2009 11:52 am
Location: United States

Postby BFChris » Thu Dec 03, 2009 7:13 pm

Not without seeing the code.

Also note that the shopping cart template consists of code for multiple complete HTML pages (cart, checkout, thank you, thank you e-mail, etc).

Do you have them all included?
~~Barefoot Chris
--------------------------------
Barefoot Chris Web Design
www.barefootchris.net
--------------------------------
BFChris
 
Posts: 322
Joined: Mon Oct 09, 2006 3:28 pm
Location: PA

Postby Bashton » Thu Dec 03, 2009 7:22 pm

Yes, I've gone over the tutorial 3 or 4 times to make sure I did everything as they said. I'd be more than happy to post what I have here, but it is pretty lengthy.

The majority of my code is imbedded styles. Otherwise it's just very minimal xhtml.

All the rest is just the stuff the tutorial has you copy and paste.

My suspicion was that I had an open tag, parenthesis or brace somewhere. But, I've gone over it and can't find anything like that.
Bashton
 
Posts: 14
Joined: Thu Dec 03, 2009 11:52 am
Location: United States

Postby Bashton » Thu Dec 03, 2009 8:09 pm

Okay, here it all is. Probably the easiest way to check it is to just use search and find for the beginnings and endings of the shopsite code. That can be found here:

http://www.shopsite.com/templates/cookb ... page.shtml

-----------beginning of shopping cart template---------------------

[-- DEFINE SHOPPING_CART --]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript" language="JavaScript">
<!--
[-- SC_JAVASCRIPT extras --]
// -->
</script>

[-- INCLUDE sc_cart.css PROCESS --]

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Home</title>
<style TYPE="text/css">
<!--

body {
background-color: #FFFBEF;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
height:100%;
overflow: auto;
}
body,td,th {
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 16px;
color: #000;
}
#container {
background: #FFFBEF url(../images/optimized-maya.png) no-repeat left top;
width: 760px;
margin: 0px auto;
clear: both;
padding: 0px;
}
#header {
background: #FFFBEF url(../images/banner-bmp.png) no-repeat right top;
margin: 0px 0px 0px 182px;
width: 578px;
height: 100px;
padding: 0px;
text-indent: -9999px;
}
#navbar {
background: #FFFBEF no-repeat right center;
margin: 0px 0px 0px 205px;
padding: 5px 0px 2px;
height: 25px;
width: 555px;
font-family: Verdana, Geneva, sans-serif;
font-size: medium;
font-weight: bold;
list-style: none;
}
#navbar p {
font-family: Verdana, Geneva, sans-serif;
font-weight: bold;
color: #000;
margin: 0px;
padding: 0px;
text-align: center;
}

#navbar a {
color:#694F3B;
background: #FFFBEF;
text-decoration:none;
padding-left:10px;
margin-left: 5px;
border-right: 1px solid #785B43;
}

#navbar a span {
padding-right: 10px;

}

#navbar a:hover {
color: #FFF;
/*background: #781351 url(left-tab-hover.gif) left top no-repeat;*/
padding-left: 10px;
background: #99515F no-repeat center top;
}

#navbar a:hover span
{
/*background: url(right-tab-hover.gif) right top no-repeat;*/
padding-right: 10px;
background: #99515F;
color: #FFF;
}

#navbar ul {
list-style::none;
padding:0;
margin:0;
}

#navbar li {
float: left;
margin: 0;
}

#sidebar {
display:block;
border:3px solid #785B43;
padding:0;
text-align:center;
font-weight:bold;
color:#000;
width: 182px;
margin: 60px 0 0;
background:repeat;
float: left;
}
#sidebar .featured {
margin-top: 0px;
padding: 0px 5px;
background: #FFFBEF;
border-bottom: 2px solid #785B43;
border-top-width: 2px;
border-right-width: 2px;
border-left-width: 2px;
border-top-color: #785B43;
border-right-color: #785B43;
border-left-color: #785B43;
color: #600;
}
#sidebar .featured p {
color: #600;
}
#sidebar .featured img {
background: #FFFBEF;
margin-bottom: 5px;
margin-top: 0px;
border: 2px solid #785B43;
}
#content {
margin: 0px 0px 0px 210px;
background: right bottom;
}





#cont-margin {
height: 58px;
margin: 0px;
padding: 0px;
background: url(../images/mayandays.gif) no-repeat;
}
#content img {
margin: 5px 10px 5px 5px;
float: left;
padding: 5px;
border: thin solid #000;
}
#content p {
color: #600;
padding: 0px 10px 10px;
margin: 0px;
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 16px;
font-weight: bold;
text-align: left;
}


ul li em {
text-decoration: underline;
}


/*.clear {clear:both;}*/

hr.bg { background: url(../images/borderLine.gif) no-repeat center bottom;
margin: 8px auto;
height: 1px;
border: 0 none;
}
h2 {
color: #600;
text-align: center;
margin: 0px 0px 5px;
}
h3 {
text-align: center;
color: #600;
font-weight: bold;
margin: 0px 0px 10px;
}
.under-word {
text-decoration: underline;
}
#footer {
font-family: Verdana, Geneva, sans-serif;
font-size: 12px;
font-weight: normal;
line-height: normal;
font-variant: small-caps;
color: #FFF;
text-decoration: none;
background: #FFFBEF;
height: 35px;
padding-top: 0px;
clear: both;
width: 760px;
margin: 0px;
}
#footer p {
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 14px;
color: #600;
text-align: center;
vertical-align: middle;
margin-top: 15px;
}


-->
</style>
</head>



<body>
<div id="container">
<div id="header">Homepage</div>
<div id="navbar">
<ul id="navbar">
<li><a href="index.php"><span>Home</span></a></li>
<li><a href="titles.php"><span>Titles</span></a></li>
<li><a href="faq.php"><span>FAQ</span></a></li>
<li><a href="feedback.php"><span>Feedback</span></a></li>
<li><a href="about-us.php"><span>About Us</span></a></li>
<li><a href="contact.php"><span>Contact</span></a></li>
</ul>
</div>
<div id="sidebar">
<div class="featured">
<p>Get it Free with your order!<img src="/images/petpan.gif" width="160" height="227"\ /></p>
</div>
<div class="featured">
<p>You Might Also Be Interested In...<img src="images/smallbook.jpg" width="160" height="210" /></p>
</div>
<div class="featured">
<p><a href="suggest.php"><img src="images/oop-oc.gif" width="160" height="200" /></a></p>

</div>
<div class="featured">
<p>Buy it Today<img src="images/product.gif" width="160" height="195" /></p>
</div>
</div>
<div id="content">
<div id="cont-margin"></div>
<div align="center">[-- ShopSiteMessages --]</div>

<div class="header">[-- ShoppingCartHeader --]</div>

[-- SC_Form --]
<table border="0" width="100%" align="center">
[-- IF SC_Registration --]
<tr>
<td align="center">
[-- SC_Registration --]
</td>
</tr>
[-- END_IF --]

<tr>
<td align="center">[-- SC_Reward_Program --]</td>
</tr>

<tr>
<td align="center">
[-- SC_ShowBasket --]
</td>
</tr>

<tr>
<td align="right">
[-- SC_Cart --]
</td>
</tr>
<tr>
<td align="right">
<table border="0" cellpadding="0" cellspacing="0" style="line-height:150%">
<tr>
<td align="left" valign="top">
<!-- Table for the shipping and tax selections etc. -->
<br>[-- SC_Tax_Shipping --]
[-- SC_Surcharge --]
</td>

<td width="20px"> </td>

<td valign="top">
<!-- Table for totals, etc. -->
[-- SC_Totals --]
</td>
</tr>
</table>
</td>
</tr>

[-- IF SC_Coupon --]
<tr>
<td align="center">
<br><table border="0" cellpadding="3" cellspacing="0">
<tr>
<td width="190" align="right"><font size="2">[-- STORE.CouponCaption --]</font></td>
<td colspan=2 width="183">[-- SC_Coupon --]</td>
<td width="244" align="left">
<font size="2">
[-- IF SC_Coupon_Button --]
[-- BUTTON ApplyCoupon --]
[-- ELSE --]
[-- STORE.EnterCoupon --]
[-- END_IF --]
</font>
</td>
<td colspan=2 width="81"></td>
</tr>
</table>
</td>
</tr>
[-- END_IF --]

<tr>
<td class="buttons">
[-- BUTTON Recalculate --] [-- BUTTON EmptyCart --]
</td>
</tr>

<tr>
<td class="buttons">
<small><i>[-- STORE.SC_AnyChanges --]</i></small>
</td>
</tr>

[-- IF SC_OrderingInstructions --]
<tr>
<td class="orderinginstructions">
[-- SC_OrderingInstructions 4 60 --]
</td>
</tr>
[-- END_IF --]

[-- IF SC_GiftCert --]
<tr>
<td align="center">
[-- STORE.EnterGiftCert --]
[-- IF SC_GiftCert_Button --]
[-- STORE.GiftCert_Redeem --]
[-- ELSE --]
[-- STORE.GiftCert_Recalculate --]
[-- END_IF --]
<br><table border="0" cellpadding="3" cellspacing="0">
<tr>
<td colspan="2">[-- SC_GiftCert --]</td>
<td align="left">
[-- IF SC_GiftCert_Button --]
<font size="2">[-- BUTTON ApplyGiftCert --]</font>
[-- END_IF --]
</td>
</tr>
</table>
</td>
</tr>
[-- END_IF --]

<tr>
<td class="paymentselection">
[-- SC_PaymentSelection --]
</td>
</tr>

<tr>
<td class="buttons"><table class="checkout">
<tr>
<td class="checkout">[-- BUTTON ContinueShopping --]</td>
<td class="checkout">[-- BUTTON Checkout --]</td>
</tr>
</table></td>
</tr>

[-- IF ShopSiteSecurityImage --]
<tr>
<td class="sc_secure_image">[-- ShopSiteSecurityImage --]</td>
</tr>
[-- END_IF --]

</table>
</form>

<div class="footer">[-- ShoppingCartFooter --]</div>

</div>
<hr class="bg" />
</div>
</body>
</html>
[-- END_DEFINE SHOPPING_CART --]

[-- DEFINE SHIPPING --]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript" language="JavaScript">
<!--
[-- SC_JAVASCRIPT extras --]
// -->
</script>

[-- INCLUDE sc_cart.css PROCESS --]

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Home</title>
<style TYPE="text/css">
<!--

body {
background-color: #FFFBEF;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
height:100%;
overflow: auto;
}
body,td,th {
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 16px;
color: #000;
}
#container {
background: #FFFBEF url(../images/optimized-maya.png) no-repeat left top;
width: 760px;
margin: 0px auto;
clear: both;
padding: 0px;
}
#header {
background: #FFFBEF url(../images/banner-bmp.png) no-repeat right top;
margin: 0px 0px 0px 182px;
width: 578px;
height: 100px;
padding: 0px;
text-indent: -9999px;
}
#navbar {
background: #FFFBEF no-repeat right center;
margin: 0px 0px 0px 205px;
padding: 5px 0px 2px;
height: 25px;
width: 555px;
font-family: Verdana, Geneva, sans-serif;
font-size: medium;
font-weight: bold;
list-style: none;
}
#navbar p {
font-family: Verdana, Geneva, sans-serif;
font-weight: bold;
color: #000;
margin: 0px;
padding: 0px;
text-align: center;
}

#navbar a {
color:#694F3B;
background: #FFFBEF;
text-decoration:none;
padding-left:10px;
margin-left: 5px;
border-right: 1px solid #785B43;
}

#navbar a span {
padding-right: 10px;

}

#navbar a:hover {
color: #FFF;
/*background: #781351 url(left-tab-hover.gif) left top no-repeat;*/
padding-left: 10px;
background: #99515F no-repeat center top;
}

#navbar a:hover span
{
/*background: url(right-tab-hover.gif) right top no-repeat;*/
padding-right: 10px;
background: #99515F;
color: #FFF;
}

#navbar ul {
list-style::none;
padding:0;
margin:0;
}

#navbar li {
float: left;
margin: 0;
}

#sidebar {
display:block;
border:3px solid #785B43;
padding:0;
text-align:center;
font-weight:bold;
color:#000;
width: 182px;
margin: 60px 0 0;
background:repeat;
float: left;
}
#sidebar .featured {
margin-top: 0px;
padding: 0px 5px;
background: #FFFBEF;
border-bottom: 2px solid #785B43;
border-top-width: 2px;
border-right-width: 2px;
border-left-width: 2px;
border-top-color: #785B43;
border-right-color: #785B43;
border-left-color: #785B43;
color: #600;
}
#sidebar .featured p {
color: #600;
}
#sidebar .featured img {
background: #FFFBEF;
margin-bottom: 5px;
margin-top: 0px;
border: 2px solid #785B43;
}
#content {
margin: 0px 0px 0px 210px;
background: right bottom;
}
#container #titles {
margin: 0px 0px 0px 210px;
}




#cont-margin {
height: 58px;
margin: 0px;
padding: 0px;
background: url(../images/mayandays.gif) no-repeat;
}
#content img {
margin: 5px 10px 5px 5px;
float: left;
padding: 5px;
border: thin solid #000;
}
#content p {
color: #600;
padding: 0px 10px 10px;
margin: 0px;
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 16px;
font-weight: bold;
text-align: left;
}


ul li em {
text-decoration: underline;
}


/*.clear {clear:both;}*/

hr.bg { background: url(../images/borderLine.gif) no-repeat center bottom;
margin: 8px auto;
height: 1px;
border: 0 none;
}
h2 {
color: #600;
text-align: center;
margin: 0px 0px 5px;
}
h3 {
text-align: center;
color: #600;
font-weight: bold;
margin: 0px 0px 10px;
}
.under-word {
text-decoration: underline;
}
#footer {
font-family: Verdana, Geneva, sans-serif;
font-size: 12px;
font-weight: normal;
line-height: normal;
font-variant: small-caps;
color: #FFF;
text-decoration: none;
background: #FFFBEF;
height: 35px;
padding-top: 0px;
clear: both;
width: 760px;
margin: 0px;
}
#footer p {
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 14px;
color: #600;
text-align: center;
vertical-align: middle;
margin-top: 15px;
}


-->
</style>
</head>



<body>
<div id="container">
<div id="header">Home</div>
<div id="navbar">
<ul id="navbar">
<li><a href="index.php"><span>Home</span></a></li>
<li><a href="titles.php"><span>Titles</span></a></li>
<li><a href="faq.php"><span>FAQ</span></a></li>
<li><a href="feedback.php"><span>Feedback</span></a></li>
<li><a href="about-us.php"><span>About Us</span></a></li>
<li><a href="contact.php"><span>Contact</span></a></li>
</ul>
</div>
<div id="sidebar">
<div class="featured">
<p>Get this FREE!<img src="/images/petpan.gif" width="160" height="227" /></p>
</div>
<div class="featured">
<p>You Might Also Be Interested In...<img src="images/smallbook.jpg" width="160" height="210"/></p>
</div>
<div class="featured">
<p><a href="suggest.php"><img src="images/oop-oc.gif" width="160" height="200" /></a></p>

</div>
<div class="featured">
<p>Buy it Today<img src="images/product.gif" width="160" height="195" /></p>
</div>
</div>
<div id="content">
<div id="cont-margin"></div>
[-- ShopSiteMessages --]

<div class="header">[-- ShippingHeader --]</div>

[-- SC_Form --]
<table border="0" width="100%" align="center">
[-- IF CustomHTML --]
<tr>
<td>
<div class="custom1">[-- SHIP_CustomHTML 1 --]</div>
</td>
</tr>
[-- END_IF --]

<tr>
<td align="right">
[-- SC_Cart --]
</td>
</tr>
<tr>
<td align="right">
[-- SC_Totals --]
</td>
</tr>

[-- IF CustomHTML --]
<tr>
<td>
<div class="custom1">[-- SHIP_CustomHTML 2 --]</div>
</td>
</tr>
[-- END_IF --]

<tr><td align="center"><hr noshade size="2"></td></tr>

[-- VAR.HR "no" --]
[-- IF SC_Comments --]
<tr>
<td align="center">
[-- SC_Comments --]
[-- VAR.HR "yes" --]
</td>
</tr>
[-- END_IF --]

[-- IF CustomHTML --]
<tr>
<td>
<div class="custom1">[-- SHIP_CustomHTML 3 --]</div>
</td>
</tr>
[-- END_IF --]

[-- IF VAR.HR "yes" --]
<tr><td align="center"><hr noshade size="2"></td></tr>
[-- END_IF --]

<tr>
<td align="center">
[-- SC_Address --]
</td>
</tr>

[-- IF CustomHTML --]
<tr>
<td>
<div class="custom1">[-- SHIP_CustomHTML 4 --]</div>
</td>
</tr>
[-- END_IF --]

<tr><td align="center"><hr noshade size="2"></td></tr>

<tr>
<td align="center">
[-- SC_Payment --]
</td>
</tr>

[-- IF CustomHTML --]
<tr>
<td>
<div class="custom1">[-- SHIP_CustomHTML 5 --]</div>
</td>
</tr>
[-- END_IF --]

<tr><td align="center"><hr noshade size="2"></td></tr>

[-- IF Email_List --]
<tr>
<td align="center">
[-- Email_List --]
</td>
</tr>
[-- END_IF --]
[-- IF SECURITYIMAGE --]
<tr>
<td align="center" class="secureimage">
[-- SHIPSECURITYIMAGE --]
</td>
</tr>
[-- END_IF --]
<tr>
<td class="buttons">
[-- BUTTON ReturnToCart --] [-- BUTTON SubmitOrder --]
</td>
</tr>

[-- IF ShopSiteSecurityImage --]
<tr>
<td class="sc_secure_image">[-- ShopSiteSecurityImage --]</td>
</tr>
[-- END_IF --]

</table>
</form>

<div class="footer">[-- ShippingFooter --]</div>

</div>
<hr class="bg" />
</div>
</body>
</html>
[-- END_DEFINE SHIPPING --]

[-- DEFINE CONFIRMATION --]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript" language="JavaScript">
<!--
[-- SC_JAVASCRIPT extras --]
// -->
</script>

[-- INCLUDE sc_cart.css PROCESS --]

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Home</title>
<style TYPE="text/css">
<!--

body {
background-color: #FFFBEF;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
height:100%;
overflow: auto;
}
body,td,th {
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 16px;
color: #000;
}
#container {
background: #FFFBEF url(../images/optimized-maya.png) no-repeat left top;
width: 760px;
margin: 0px auto;
clear: both;
padding: 0px;
}
#header {
background: #FFFBEF url(../images/banner-bmp.png) no-repeat right top;
margin: 0px 0px 0px 182px;
width: 578px;
height: 100px;
padding: 0px;
text-indent: -9999px;
}
#navbar {
background: #FFFBEF no-repeat right center;
margin: 0px 0px 0px 205px;
padding: 5px 0px 2px;
height: 25px;
width: 555px;
font-family: Verdana, Geneva, sans-serif;
font-size: medium;
font-weight: bold;
list-style: none;
}
#navbar p {
font-family: Verdana, Geneva, sans-serif;
font-weight: bold;
color: #000;
margin: 0px;
padding: 0px;
text-align: center;
}

#navbar a {
color:#694F3B;
background: #FFFBEF;
text-decoration:none;
padding-left:10px;
margin-left: 5px;
border-right: 1px solid #785B43;
}

#navbar a span {
padding-right: 10px;

}

#navbar a:hover {
color: #FFF;
/*background: #781351 url(left-tab-hover.gif) left top no-repeat;*/
padding-left: 10px;
background: #99515F no-repeat center top;
}

#navbar a:hover span
{
/*background: url(right-tab-hover.gif) right top no-repeat;*/
padding-right: 10px;
background: #99515F;
color: #FFF;
}

#navbar ul {
list-style::none;
padding:0;
margin:0;
}

#navbar li {
float: left;
margin: 0;
}

#sidebar {
display:block;
border:3px solid #785B43;
padding:0;
text-align:center;
font-weight:bold;
color:#000;
width: 182px;
margin: 60px 0 0;
background:repeat;
float: left;
}
#sidebar .featured {
margin-top: 0px;
padding: 0px 5px;
background: #FFFBEF;
border-bottom: 2px solid #785B43;
border-top-width: 2px;
border-right-width: 2px;
border-left-width: 2px;
border-top-color: #785B43;
border-right-color: #785B43;
border-left-color: #785B43;
color: #600;
}
#sidebar .featured p {
color: #600;
}
#sidebar .featured img {
background: #FFFBEF;
margin-bottom: 5px;
margin-top: 0px;
border: 2px solid #785B43;
}
#content {
margin: 0px 0px 0px 210px;
background: right bottom;
}
#container #titles {
margin: 0px 0px 0px 210px;
}




#cont-margin {
height: 58px;
margin: 0px;
padding: 0px;
background: url(../images/mayandays.gif) no-repeat;
}
#content img {
margin: 5px 10px 5px 5px;
float: left;
padding: 5px;
border: thin solid #000;
}
#content p {
color: #600;
padding: 0px 10px 10px;
margin: 0px;
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 16px;
font-weight: bold;
text-align: left;
}


ul li em {
text-decoration: underline;
}


/*.clear {clear:both;}*/

hr.bg { background: url(../images/borderLine.gif) no-repeat center bottom;
margin: 8px auto;
height: 1px;
border: 0 none;
}
h2 {
color: #600;
text-align: center;
margin: 0px 0px 5px;
}
h3 {
text-align: center;
color: #600;
font-weight: bold;
margin: 0px 0px 10px;
}
.under-word {
text-decoration: underline;
}
#footer {
font-family: Verdana, Geneva, sans-serif;
font-size: 12px;
font-weight: normal;
line-height: normal;
font-variant: small-caps;
color: #FFF;
text-decoration: none;
background: #FFFBEF;
height: 35px;
padding-top: 0px;
clear: both;
width: 760px;
margin: 0px;
}
#footer p {
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 14px;
color: #600;
text-align: center;
vertical-align: middle;
margin-top: 15px;
}


-->
</style>
</head>



<body>
<div id="container">
<div id="header">Home</div>
<div id="navbar">
<ul id="navbar">
<li><a href="index.php"><span>Home</span></a></li>
<li><a href="titles.php"><span>Titles</span></a></li>
<li><a href="faq.php"><span>FAQ</span></a></li>
<li><a href="feedback.php"><span>Feedback</span></a></li>
<li><a href="about-us.php"><span>About Us</span></a></li>
<li><a href="contact.php"><span>Contact</span></a></li>
</ul>
</div>
<div id="sidebar">
<div class="featured">
<p>Get it FREE!<img src="/images/petpan.gif" width="160" height="227" /></p>
</div>
<div class="featured">
<p>You Might Also Be Interested In...<img src="images/smallbook.jpg" width="160" height="210" /></p>
</div>
<div class="featured">
<p><a href="suggest.php"><img src="images/oop-oc.gif" width="160" height="200" /></a></p>

</div>
<div class="featured">
<p>Product<img src="images/products.gif" width="160" height="195" /></p>
</div>
</div>
<div id="content">
<div id="cont-margin"></div>
[-- ShopSiteMessages --]

<div class="header">[-- ConfirmationHeader --]</div>

[-- SC_Form --]
<table border="0" width="100%" align="center">
<tr>
<td align="right">
[-- SC_Cart --]
</td>
</tr>
<tr>
<td align="right">
[-- SC_Totals --]
</td>
</tr>

<tr><td align="center"><hr noshade size="2"></td></tr>

<tr>
<td align="center">
[-- SC_Address --]
</td>
</tr>

<tr><td align="center"><hr noshade size="2"></td></tr>

<tr>
<td align="center">
[-- SC_Payment --]
</td>
</tr>

<tr><td align="center"><hr noshade size="2"></td></tr>

[-- VAR.HR No --]

[-- IF SC_OrderingInstructions_Text --]
<tr>
<td align="center">
[-- SC_OrderingInstructions --]
</td>
</tr>
[-- VAR.HR Yes --]
[-- END_IF --]

[-- IF SC_Comments_Text --]
<tr>
<td align="center">
[-- SC_Comments --]
</td>
</tr>
[-- VAR.HR Yes --]
[-- END_IF --]

[-- IF CustomHTML_Values --]
<tr>
<td align="center">
<table class="CustomHTML">
<tr>
<td align="left">
[-- CustomHTML_Values --]
</td>
</tr>
</table>
</td>
</tr>
[-- VAR.HR Yes --]
[-- END_IF --]

[-- IF Email_List --]
<tr>
<td class="email">
[-- Email_List --]
</td>
</tr>
[-- VAR.HR Yes --]
[-- END_IF --]

[-- IF VAR.HR Yes --]
<tr><td align="center"><hr noshade size="2"></td></tr>
[-- END_IF --]

<tr>
<td class="buttons">
[-- BUTTON MakeChanges --] [-- BUTTON Confirmation --]
</td>
</tr>

[-- IF ShopSiteSecurityImage --]
<tr>
<td class="sc_secure_image">[-- ShopSiteSecurityImage --]</td>
</tr>
[-- END_IF --]

</table>
</form>


<div class="footer">[-- ConfirmationFooter --]</div>

</div>
<hr class="bg" />
</div>
</body>
</html>
[-- END_DEFINE CONFIRMATION --]

[-- DEFINE THANKYOU --]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript" language="JavaScript">
<!--
[-- SC_JAVASCRIPT extras --]
// -->
</script>

[-- INCLUDE sc_cart.css PROCESS --]

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Home</title>
<style TYPE="text/css">
<!--

body {
background-color: #FFFBEF;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
height:100%;
overflow: auto;
}
body,td,th {
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 16px;
color: #000;
}
#container {
background: #FFFBEF url(../images/optimized-maya.png) no-repeat left top;
width: 760px;
margin: 0px auto;
clear: both;
padding: 0px;
}
#header {
background: #FFFBEF url(../images/banner-bmp.png) no-repeat right top;
margin: 0px 0px 0px 182px;
width: 578px;
height: 100px;
padding: 0px;
text-indent: -9999px;
}
#navbar {
background: #FFFBEF no-repeat right center;
margin: 0px 0px 0px 205px;
padding: 5px 0px 2px;
height: 25px;
width: 555px;
font-family: Verdana, Geneva, sans-serif;
font-size: medium;
font-weight: bold;
list-style: none;
}
#navbar p {
font-family: Verdana, Geneva, sans-serif;
font-weight: bold;
color: #000;
margin: 0px;
padding: 0px;
text-align: center;
}

#navbar a {
color:#694F3B;
background: #FFFBEF;
text-decoration:none;
padding-left:10px;
margin-left: 5px;
border-right: 1px solid #785B43;
}

#navbar a span {
padding-right: 10px;

}

#navbar a:hover {
color: #FFF;
/*background: #781351 url(left-tab-hover.gif) left top no-repeat;*/
padding-left: 10px;
background: #99515F no-repeat center top;
}

#navbar a:hover span
{
/*background: url(right-tab-hover.gif) right top no-repeat;*/
padding-right: 10px;
background: #99515F;
color: #FFF;
}

#navbar ul {
list-style::none;
padding:0;
margin:0;
}

#navbar li {
float: left;
margin: 0;
}

#sidebar {
display:block;
border:3px solid #785B43;
padding:0;
text-align:center;
font-weight:bold;
color:#000;
width: 182px;
margin: 60px 0 0;
background:repeat;
float: left;
}
#sidebar .featured {
margin-top: 0px;
padding: 0px 5px;
background: #FFFBEF;
border-bottom: 2px solid #785B43;
border-top-width: 2px;
border-right-width: 2px;
border-left-width: 2px;
border-top-color: #785B43;
border-right-color: #785B43;
border-left-color: #785B43;
color: #600;
}
#sidebar .featured p {
color: #600;
}
#sidebar .featured img {
background: #FFFBEF;
margin-bottom: 5px;
margin-top: 0px;
border: 2px solid #785B43;
}
#content {
margin: 0px 0px 0px 210px;
background: right bottom;
}
#container #titles {
margin: 0px 0px 0px 210px;
}




#cont-margin {
height: 58px;
margin: 0px;
padding: 0px;
background: url(../images/mayandays.gif) no-repeat;
}
#content img {
margin: 5px 10px 5px 5px;
float: left;
padding: 5px;
border: thin solid #000;
}
#content p {
color: #600;
padding: 0px 10px 10px;
margin: 0px;
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 16px;
font-weight: bold;
text-align: left;
}


ul li em {
text-decoration: underline;
}


/*.clear {clear:both;}*/

hr.bg { background: url(../images/borderLine.gif) no-repeat center bottom;
margin: 8px auto;
height: 1px;
border: 0 none;
}
h2 {
color: #600;
text-align: center;
margin: 0px 0px 5px;
}
h3 {
text-align: center;
color: #600;
font-weight: bold;
margin: 0px 0px 10px;
}
.under-word {
text-decoration: underline;
}
#footer {
font-family: Verdana, Geneva, sans-serif;
font-size: 12px;
font-weight: normal;
line-height: normal;
font-variant: small-caps;
color: #FFF;
text-decoration: none;
background: #FFFBEF;
height: 35px;
padding-top: 0px;
clear: both;
width: 760px;
margin: 0px;
}
#footer p {
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 14px;
color: #600;
text-align: center;
vertical-align: middle;
margin-top: 15px;
}


-->
</style>
</head>



<body>
<div id="container">
<div id="header">Home</div>
<div id="navbar">
<ul id="navbar">
<li><a href="index.php"><span>Home</span></a></li>
<li><a href="titles.php"><span>Titles</span></a></li>
<li><a href="faq.php"><span>FAQ</span></a></li>
<li><a href="feedback.php"><span>Feedback</span></a></li>
<li><a href="about-us.php"><span>About Us</span></a></li>
<li><a href="contact.php"><span>Contact</span></a></li>
</ul>
</div>
<div id="sidebar">
<div class="featured">
<p>Get it FREE!<img src="/images/petpan.gif" width="160" height="227" /></p>
</div>
<div class="featured">
<p>You Might Also Be Interested In...<img src="images/smallbook.jpg" width="160" height="210" /></p>
</div>
<div class="featured">
<p><a href="suggest.php"><img src="images/oop-oc.gif" width="160" height="200" /></a></p>

</div>
<div class="featured">
<p>Product<img src="images/product.gif" width="160" height="195" /></p>
</div>
</div>
<div id="content">
<div id="cont-margin"></div>
<center>[-- ThankYouReturnStore --]</center>

<div class="header">[-- ThankYouHeader --]</div>

<table border="0" width="100%" align="center">

<tr>
<td>
[-- STORE.SC_YourReceipt --]<br>
</td>
</tr>

<tr>
<td align="center">
<b>[--Store.SC_OrderNumber--] [-- ThankYouOrderNumber --]</b>
</td>
</tr>

<tr>
<td align="right">
[-- SC_Cart --]
</td>
</tr>

<tr>
<td align="right">
[-- SC_Totals --]
</td>
</tr>

<tr><td align="center"><hr noshade size="2"></td></tr>

<tr>
<td align="center">
[-- SC_Address --]
</td>
</tr>

<tr><td align="center"><hr noshade size="2"></td></tr>

<tr>
<td align="center">
[-- SC_Payment --]
</td>
</tr>

<tr><td align="center"><hr noshade size="2"></td></tr>

[-- VAR.HR No --]

[-- IF SC_OrderingInstructions_Text --]
<tr>
<td align="center">
[-- SC_OrderingInstructions --]
</td>
</tr>
[-- VAR.HR Yes --]
[-- END_IF --]

[-- IF SC_Comments_Text --]
<tr>
<td align="center">
[-- SC_Comments --]
</td>
</tr>
[-- VAR.HR Yes --]
[-- END_IF --]

[-- IF CustomHTML_Values --]
<tr>
<td align="center">
<table class="CustomHTML">
<tr>
<td align="left">
[-- CustomHTML_Values --]
</td>
</tr>
</table>
</td>
</tr>
[-- VAR.HR Yes --]
[-- END_IF --]

[-- IF Email_List --]
<tr>
<td class="email">
[-- Email_List --]
</td>
</tr>
[-- VAR.HR Yes --]
[-- END_IF --]

[-- IF VAR.HR Yes --]
<tr><td align="center"><hr noshade size="2"></td></tr>
[-- END_IF --]

</table>

<div class="footer">[-- ThankYouFooter --]</div>

</div>
<hr class="bg" />
</div>
</body>
</html>
[-- END_DEFINE THANKYOU --]

[-- DEFINE THANKYOU_EMAIL --]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>[-- STORE.SC_ThankYou Remove_Html --]</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
[-- INCLUDE sc_thankyouemail.css PROCESS --]
</head>

<body>

<p class="buttons">[-- ThankYouReturnStore --]</p>

<div class="header">[-- ThankYouHeader --]</div>

<table border="0" width="90%" align="center">

<tr>
<td align="center">
<b>[--Store.SC_OrderNumber--] [-- ThankYouOrderNumber --]</b>
</td>
</tr>

<tr>
<td align="right">
[-- SC_Cart --]
</td>
</tr>

<tr>
<td align="right">
[-- SC_Totals --]
</td>
</tr>

<tr><td align="center"><hr noshade size="2"></td></tr>

<tr>
<td align="center">
[-- SC_Address --]
</td>
</tr>

<tr><td align="center"><hr noshade size="2"></td></tr>

<tr>
<td align="center">
[-- SC_Payment --]
</td>
</tr>

<tr><td align="center"><hr noshade size="2"></td></tr>

[-- VAR.HR No --]

[-- IF SC_OrderingInstructions_Text --]
<tr>
<td align="center">
[-- SC_OrderingInstructions --]
</td>
</tr>
[-- VAR.HR Yes --]
[-- END_IF --]

[-- IF SC_Comments_Text --]
<tr>
<td align="center">
[-- SC_Comments --]
</td>
</tr>
[-- VAR.HR Yes --]
[-- END_IF --]

[-- IF CustomHTML_Values --]
<tr>
<td align="center">
<table align="center">
<tr>
<td align="left">
[-- CustomHTML_Values --]
</td>
</tr>
</table>
</td>
</tr>
[-- VAR.HR Yes --]
[-- END_IF --]

[-- IF Email_List --]
<tr>
<td align="center">
[-- Email_List --]
</td>
</tr>
[-- VAR.HR Yes --]
[-- END_IF --]

[-- IF VAR.HR Yes --]
<tr><td align="center"><hr noshade size="2"></td></tr>
[-- END_IF --]

</table>

<div class="footer">[-- ReceiptFooter --]</div>
</body>
</html>
[-- END_DEFINE THANKYOU_EMAIL --]
Bashton
 
Posts: 14
Joined: Thu Dec 03, 2009 11:52 am
Location: United States

Postby loren_d_c » Fri Dec 04, 2009 9:47 am

The problem is that your [-- DEFINE SHOPPING_CART --] and [-- END_DEFINE SHOPPING_CART --] tags should actually be [-- DEFINE SHOPPINGCART --] and [-- END_DEFINE SHOPPINGCART --]. See the instructions again at:

http://www.shopsite.com/templates/cookbook/quick-easy-templates-cart.shtml

-Loren
loren_d_c
 
Posts: 2572
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere

Postby Bashton » Fri Dec 04, 2009 3:07 pm

loren_d_c wrote:The problem is that your [-- DEFINE SHOPPING_CART --] and [-- END_DEFINE SHOPPING_CART --] tags should actually be [-- DEFINE SHOPPINGCART --] and [-- END_DEFINE SHOPPINGCART --]. See the instructions again at:

http://www.shopsite.com/templates/cookbook/quick-easy-templates-cart.shtml

-Loren


Thanks Loren. I knew it had to be something basic.

What happened was I created a new custom template from the store itself and those tags came built-in. So, I never thought to question them. I put the rest of the code in between what was already there.

Good eye.
Bashton
 
Posts: 14
Joined: Thu Dec 03, 2009 11:52 am
Location: United States


Return to User Forum

Who is online

Users browsing this forum: Bing [Bot] and 103 guests