
Originally Posted by
Ubique17
hmmm - exactly like the one in this template. Any idea on how this is done?
I went and brought that template, so now i have a copy of all the coding, it looks like they made a new sidebox, there is a new side box with the name shopping_cart_az01.php.
Code:
Code:
<?php
/*
$Id: shopping_cart_az01.php,v 1.0 2004/09/09 hpdl Exp $
For osCommerce, Open Source E-Commerce Solutions
Created by http://www.template-faq.com
Copyright (c) 2004 template-faq.com, Inc
*/
$content = '<table cellspacing="0" cellpadding="0"><tr>';
$content .= '<td width="40"><a href="'. zen_href_link(FILENAME_SHOPPING_CART) .'"><img src="'. DIR_WS_TEMPLATE_IMAGES .'az_cart_icon.gif" alt="" class="noborder" /></a></td>';
$content .= '<td>' . $_SESSION['cart']->count_contents() .' item(s)</a> in your shopping cart</td>';
$content .= '</tr></table>';
?>
<tr>
<td>
<!--// bof: <?php echo $box_id; ?> //-->
<table border="0" width="100%" cellspacing="0" cellpadding="0" class="infoBox<?php echo $column_location; ?>">
<tr>
<td>
<table border="0" width="100%" cellspacing="0" cellpadding="0" class="infoBoxContents<?php echo $column_location; ?>">
<tr><td><?php echo zen_draw_separator('pixel_trans.gif', '100%', '1'); ?></td></tr>
<tr>
<td class="boxText" id="<?php echo str_replace('_', '-', $box_id . '-content'); ?>"><?php echo $content; ?></td>
</tr>
<tr><td><?php echo zen_draw_separator('pixel_trans.gif', '100%', '1'); ?></td></tr>
</table>
</td>
</tr>
</table>
<!--// eof: <?php echo $box_id; ?> //-->
</td>
</tr>