spr1nt Posted April 12, 2007 Posted April 12, 2007 Im trying to insert this code: <b>Your Cart Contains</b><br><a class="infoBoxContents" href=<?=tep_href_link('shopping_cart.php')?>><?=$cart->count_contents()?> items<br>Sub Total: <?= $currencies->format($cart->show_total())?> into the header so that it will display the amount of items in my cart and the total current price. I would like it in between the my account and shopping cart gifs which is this code here: <td align="right" valign="center"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a> <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a> <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?> </td> Where do I insert that code without getting parse errors?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.