CART CONTENT VALUE in bread crumb

for osCommerce Online Merchant v2.3

Hello, there. First of all BACKUP the specific file (/includes/header.php)! If you would like to see this contribution in action, please refer to and add an item to the shopping cart. Watch the bread crumb. Well, now let us do that 2-minutes-work to include this nice contribution: 1. Locate your header.php in /includes/header.php (on catalog side) and open it with an editor. 2. Find (about lines 45 to 47 - depending on, how many lines of code you already added) </div> <div class="grid_24 ui-widget infoBoxContainer"> <div class="ui-widget-header infoBoxHeading"><?php echo '&nbsp;&nbsp;' . $breadcrumb->trail(' &raquo; '); ?> and DIRECTLY BELOW add THIS CODE: <!-- CART CONTENT VALUE ALERT by A P A 3 STARTS HERE --> <?php if ($cart->count_contents() > 0) { echo '&nbsp; <font color="yellow">*** WARENWERT IM KORB: ' . $currencies->format($cart->show_total()); echo ' ***'; } ?> </font> &nbsp;&nbsp; <!-- CART CONTENT VALUE ALERT by A P A 3 ENDS HERE --> 3. You may change the color (by default it is YELLOW) as you like. Therefor you either can alter to *blue*, *red* or even *#FFFFFF* or other HTML color codes. To change the text/alert, simply use your language instead of *WARENWERT IM KORB*. 4. Save your changes and upload to your server. 5. Refresh your web (press F5 on you keyboard) and try the new add-on by adding at least one article to your shopping cart. 6. Have fun with that neet little code pile. We only testet with v2.3, but suppost to work with prior versions too. SCREENSHOT included.