1. Your store's URL is incorrect.
You will need to change it to the following in the manager:
http://www.soulofnewmexico.com/bathEssentials/agora.cgi
It needs the
www. in front to comply with the "2 dot rule" that helps to maintain state in the cart.
2. |n the store_header.inc file you have couple links on the following line:
Code:
<td width="497"><a href="http://soulofnewmexico.com/bathEssentials/agora.cgi?cart_id=2246307.30777*oC6jd72246307.30777">
You have the cart_id hard coded into the link! you cannot hard code ANY cart_id's. This can cause a security issue with the cart...
you can use the following link, though:
Code:
<td width="497"><a href="http://soulofnewmexico.com/bathEssentials/agora.cgi">
3. i am also seeing the following line:
Code:
<TABLE WIDTH=174 HEIGHT=100% BORDER=0 CELLSPACING=0 CELLPADDING=0 align=top>
align=top will not work... it should be valign="top"
In HTML, you should be surrounding the properies of a variable with double quote marks.
So, that line should look more like:
Code:
<TABLE WIDTH="174" HEIGHT="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0" valign="top">
4. What is this, in the header file?
Code:
<LEFT>
</LEFT>
it MUST be removed
5. The following MUST be removed from the productPage.inc file:
Code:
<style type="text/css">
<!--
.style4 { font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
}
-->
</style>
For proper placement of CSS elements, please review the following threads:
http://www.agoraguide.com/faq/viewtopic.php?t=1156
http://www.agoraguide.com/faq/viewtopic.php?t=358
6. To align the product page to the right, you need to edit the last line in your header file:
Change:
Code:
<TD WIDTH="727" valign=top>
TO:
Code:
<TD WIDTH="727" align="right" valign="top">
In the productPage.inc file you can even change the following line:
Code:
$myans .= '<tr><td><table width="100%" border=0>'."\n";
TO:
Code:
$myans .= '<tr><td align="right"><table width="100%" border=0>'."\n";
7. You have duplicated the controller code so that it appears twice in the productpage.inc file.
So, the following MUST be removed:
Code:
<!--agorascript-pre
{ # more controller code
local ($myans)="";
if (($rowCount == ($maxCount)) || ($rowCount == ($num_returned)))
{ # very last one
if ($ags_row_item == 1) { # first and only one
$myans .= '</table></td>'."\n";
$myans .= '<td width="50%"><table width=100%>'."\n";
}
}
return $myans;
} # end controller code
-->
</TR><TR>
<td colspan=2><!--agorascript-pre
{ # more controller code
local ($myans)="";
if ($ags_row_item == 1) { # first one
$myans .= '</table></td>'."\n";
} else { # second one
$myans .= '</table></td></tr>'."\n";
}
if (($rowCount == ($maxCount)) || ($rowCount == ($num_returned)))
{ # very last one, need to join these two cells, no border
if ($ags_row_item == 1) { # first and only one
$myans .= '</tr></table></td>'."\n";
}
}
if (($rowCount == ($maxCount)) || ($rowCount == ($num_returned)))
{ # very last one
# if ($ags_row_item == 1) { # finished first one, add a blank dummy
#second
# $myans .= '<td> </td></tr>'."\n";
# }
$myans .= '</table></td></tr>'."\n";
}
return $myans;
} # end controller code
-->
</TD>
</TR>
However, looking over the code you have in the productPage and seeng the layout in the store, you might be better off just removing all of the controller code fromt he productPage.inc file.
Also, something else, the border on the right should not be part of the code in the productPage.inc file, it should be coded into the footer.
To help you set things up between the header and footer, please review the following thread on setting up headers and footers:
http://www.agoraguide.com/faq/viewtopic.php?t=1310
I know it is a lot to take in, but you will be so much happier with the result once things are set up properly.
HTH!
_________________
God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership