Shopping cart will not display shipping in right format
Posted: Mon Nov 17, 2003 7:53 pm
check it out at http://www.whiteliesdarktruth.com/purchase2.php
It displays 24.95
Shipping 3.60
Total Cost 28.55
the right display should be:
24.95
3.60
28.55
here is the code:
<table>
<tr>
<td width="250"><font color="#FfFfFf"><b>Product Name</b></font></td>
<td width="100"><font color="#FfFfFf"><b>Price</b></font></td>
<td width="100"><font color="#FfFfFf"><b>Qty</b></font></td>
<td width="100"><font color="#FfFfFf"><b>Total</b></font></td>
</tr>
<tr>
<td><font color="#FfFfFf">White Lies Dark Truth (Hardcover) </font></td>
<td><font color="#FfFfFf"><?php echo $bookPrice ?></font></td>
<td><font color="#FfFfFf"><?php echo $numBooks ?></font></td>
<td><font color="#FfFfFf"><?php echo $bookPrice*$numBooks ?></font></td>
</tr>
<tr>
<td></td>
<td></td>
<td ><font color="#FfFfFf"><b>Shipping</b></font></td>
<td><font color="#FfFfFf"><?php echo $arrShippingCost[$shippingIndexSelected] + $extraShipping*($numBooks-1); ?></font></td>
</tr>
<tr>
<td></td>
<td></td>
<td><font color="#FfFfFf"><b>Bill Total</b></font></td>
<td><font color="#FfFfFf"><?php echo $totalCost ?></font></td>
</tr>
</table>