This is the productPage.inc file I'm uploading, with the view cart button at the top. The page is a slight modification of the productPage-4a.inc file. The only things I've changed are minor cosmetic changes. I've set the border tables to 0, I've removed the product number and price, and I turned the thumbnail into the "more info" link rather than having a seperate link.
I'm uploading in Bullet Proof FTP and I uploaded it in ASCII.
Quote:
<a href='%%scripturl%%?dc=1&%%href_fields%%'><img border="0" src="%%ButtonSetURL%%/viewcart.gif"></a>
<!--agorascript-pre
{
# This file allows you to have any number of
# rows by setting the following variable
$ags_across = 5; # Number in a row
$ags_row_wd=int(100.0/$ags_across);
local ($myans)="";
if ($rowCount == (1+$minCount)) { #first one
$ags_row_item=0;
$ags_row_nmbr=0;
$ags_tot_item=0;
$myans .= '<tr><td colspan="3"><table width="100%" border="0" ALIGN="left">'."\n";
}
$ags_row_item++;
$ags_tot_item++;
if ($ags_row_item > 1) { # last one
if ($ags_row_item == $ags_across) {
$ags_row_item=0; #reset counter
$ags_row_nmbr++;
}
$myans .= '<td width="'.$ags_row_wd.'%" valign="top">';
} else { #first one
$myans .= '<tr><td width="'.$ags_row_wd.'%" valign="top">';
}
$myans.=qq~<form method="post" action="%%scriptURL%%">
%%make_hidden_fields%%
<table width="100%" ALIGN="left">
~;
return $myans;
}
-->
<tr><td class="ac_product_image">
<a style="border-style: none" href="%%scripturl%%?cart_id=&p_id=%%ProductID%%&xm=on&ppinc=walletdetail">
%%image%%
</a>
</td></tr>
<!--agorascript-pre
{
local ($myans)="";
if ($ags_row_item == 0) { # last one
$myans .= '</table></form></td></tr>'."\n";
} else { # first one
$myans .= '</table></form></td>'."\n";
}
if (($rowCount == ($maxCount)) || ($rowCount == ($num_returned)))
{ # very last one
if (!($ags_row_item == 0)) { # finish the row
# if ($ags_row_nmbr > 0) { # finish the row with blanks
while ($ags_row_item < $ags_across) {
$ags_row_item++;
$myans .= '<td width="'.$ags_row_wd.'%"> </td>';
}
# }
$myans .= '</tr>'."\n";
}
$myans .= '</table></td></tr>'."\n";
}
return $myans;
}
-->
I've tried inserting the viewcart link as that as well as:
Quote:
<table width="100" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align=center><a href='%%scripturl%%?dc=1&%%href_fields%%'><img border="0" src="%%ButtonSetURL%%/viewcart.gif"></a></td>
</tr>
</table>