http://www.fastcart.co.uk x
FastCart Free Shopping Cart Home
Setting Up Your Website and FastCart

  Home Login to FastCart Control Panel  Login Sign Up for WorldPay or FastCart  Sign Up
About FastCart - Free Shopping Cart for WorldPay
Setting Up
Control Panel
Help and Support
Sign Up
Contact Us
Free Shopping Cart for WorldPay

Shopping Cart Info Box

You can display a shopping cart information box on your website so that shoppers can see how many products have been added to the shopping cart, and the total values of all products.

Example Shopping Cart Info Box

Shopping Cart Info BoxHTML Code
Items in Cart:    
Total Cost:    
View Cart   Checkout
<table width="120" cellpadding="1" cellspacing="0" bgcolor="#c0c0c0">
<tr><td>
<table width="100%" bgcolor="#ffffff">
<tr>
  <td nowrap><b>Items in Cart:</b></td>
  <td align="right" nowrap><script type="text/javascript"
  src="http://www.fastcart.co.uk/cart/cart.php?qty=1"></script></td></tr>
<tr>
<td nowrap><b>Total Cost:</b></td>
  <td align="right" nowrap><script type="text/javascript"
   src="http://www.fastcart.co.uk/cart/cart.php?total=1"></script></td></tr>
<tr>
  <td colspan="2" align="center">
  <a href="http://www.fastcart.co.uk/cart/index.php?
  action=showcart&id=1223">View Cart</a>
  <a href="http://www.fastcart.co.uk/cart/index.php?
  action=checkout&id=1223">Checkout</a>
  </td></tr></table></td></tr></table>
</form>
Copy and paste the code into your web page, replacing our test ID of 1223 with your own FastCart account number.

Quantity and Total Only

If you prefer, you can display the quantity of items in the shopping cart and the total cost in any way you want. Copy and paste the following code into your page where you want the quantity of items in the shopping cart to be displayed:
<script type="text/javascript" src="http://www.fastcart.co.uk/cart/cart.php?qty=1"></script>
Copy and paste the following code into your page where you want the total cost of items in the shopping cart to be displayed:
<script type="text/javascript" src="http://www.fastcart.co.uk/cart/cart.php?total=1"></script>
Or you can display the total cost without the default currency symbol / cost:
<script type="text/javascript" src="http://www.fastcart.co.uk/cart/cart.php?total=2"></script>

Note

IE6 users testing this code offline may get warnings about security etc. This is something that Microsoft built in to IE6 - it is not a problem and should only appear offline. Upload your web pages to your website and the cart contents will be displayed without security warnings.
WorldPay Internet Merchant Account
WorldPay Accredited Partner
We are Accredited Partners of WorldPay.

Apply online for your WorldPay account with us and save over £300 on WorldPay fees and get FastCart for free!

more information
Free Shopping Cart
Free Shopping Cart for WorldPay
Fully Customisable
Easy To Set Up
No Software To Install
No Experience Required
Wide Range Of Features

more information
Home | Sign Up | Terms & Conditions | Privacy Policy | Site Map | Contact
© Copyright 2002 - 2009 FastCart UK / LWD Internet, All Rights Reserved