i downloaded the Contribution "Add Shopping Cart Info to Your Header", and what i want to do is replace my old catalog/includes/boxes/shopping_cart.php code with the one below:
The code above is from the Add Shopping Cart Info to Your Header Contribution.Code:<table align="right" class="infoBox" width="140" border="0" cellspacing="1" cellpadding="1"> <tr> <td class="accountCategory" align="right"> Items: </td> <td class="accountCategory" align="left"> <?php echo $cart-> count_contents(); ?>&nbsp;&nbsp; </td> <td class="accountCategory" align="right"> Total: </td> <td class="accountCategory" align="left"> <?php echo $currencies-> format($cart->show_total()); ?> </td> </tr> </table>
also what i would like to do is, is remove the cart contents and the checkout link that is in the catalog/includes/header.php file and put it in the catalog/includes/boxes/shopping_cart.php file, so it would look something like this:
Thats the way i would like my catalog/includes/boxes/shopping_cart.phpCode:---------------- |items: 0 | |total: $0.00 | | | |Cart Contents | |Checkout | ----------------
I am sure there is a way to do it like that, any help would be great. I think i explained right.
Thanks for any help!





LinkBack URL
About LinkBacks






Bookmarks