Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

CONTRIBUTION - CART Info in Browser Status Bar


Jonas

Recommended Posts

This is my firts contribution to the OSC community.

 

Simple MOD to add CART info to the browser status bar.

This could be adapted to animate the text.

DOUWNLOAD HERE

 

############################################################## 

## MOD Title: CART Info in Browser Status Bar 

## MOD Version: 1.0 

## Author: Jonas < [email protected] >

## Description: CART info in satus bar

## 

## Installation Level: Easy 

## Installation Time:  1 Minute

## Files To Edit: default.php

## Included Files: n/a 

############################################################## 

## This MOD is released under the GPL License. 

## Intellectual Property is retained by the MOD Author(s) listed above 

############################################################## 

## Authors Notes: 

## Simple MOD to add CART info to the browser status bar.

##This could be adapted to animate the text.

############################################################## 

## Before Adding This MOD To Your Forum,

##You Should Back Up All Files Related To This MOD 

############################################################## 





-----[ OPEN ]------------------------------------------ 



catalog/default.php



-----[ FIND ]------------------------------------------ 



</head>



-----[ BEFORE, ADD ]------------------------------------------ 



<script language="JavaScript" type="text/javascript">

<!--

window.status="Cart: <?php echo $cart->count_contents(); ?> Items  <?php echo $currencies->format($cart->show_total()); ?>  <?php echo $cart->show_weight() ?>lbs ]"

// -->

</script>



-----[ SAVE/CLOSE ALL FILES ]------------------------------------------

.:: Jonas ::.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...