Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.874.377 Times

Add Shopping Cart Info to Your Header 2.0

  Date Added: May 10, 2013  |  Visits: 370

Add Shopping Cart Info to Your Header

Report Broken Link
Printer Friendly Version


Product Homepage
Download (27 downloads)



Simple modification to add the item count and merchandise total to your header.Updated to work with STS PLUSThis is just a little usercode to allow you to use this contribution in your STS layout.Add this to your includes/modules/sts_inc/sts_user_code.php file, before the ?> at the end of the file is fine.$sts->start_capture();$productno = $cart->count_contents();$totalprice = $currencies->format($cart->show_total());if ($productno > 1) {echo ENTRY_HCART_CONTAINS;echo " ";echo $productno;echo " ";echo ENTRY_HCART_ITEMS;echo " "; echo " ";echo ENTRY_HCART_PRICE;echo " ";echo $totalprice;} elseif ($productno == 0) {echo ENTRY_HCART_EMPTY;} else {echo ENTRY_HCART_CONTAINS;echo " ";echo $productno;echo " ";echo ENTRY_HCART_ITEM;echo " "; echo " ";echo ENTRY_HCART_PRICE;echo " ";echo $totalprice;}$sts->stop_capture ('headcart');Add this to your includes/languages/english.php file, before the ?> at the end of the file is fine.define('ENTRY_HCART_EMPTY', 'Your cart is empty.');define('ENTRY_HCART_CONTAINS', 'Your cart contains:');define('ENTRY_HCART_ITEM', 'item.');define('ENTRY_HCART_ITEMS', 'items.');define('ENTRY_HCART_PRICE', 'Total price:');Thats it! Now use $headcart anywhere you want in your STS template files.

Requirements: No special requirements
Platforms: Windows, *nix, Linux, PHP , BSD
Keyword: Cart Header Header Info Oscommerce Addons Shopping Shopping Cart
Users rating: 0/10

License: Freeware
USER REVIEWS
More Reviews or Write Review


ADD SHOPPING CART INFO TO YOUR HEADER RELATED
Modules  -  Hide Shopping Cart InfoBox 1.0
Checkout in the navigation bar and the Checkout Button are hidden when the Shopping Cart is empty.
 
Libraries  -  Webforce Cart 1.6
Webforce Cart (wfCart) is a free PHP shopping cart class you can use a component of a PHP based online store. Its designed as a component for PHP developers who would rather write their own store rather than a complete solution. Instructions and...
3.07 KB  
E-Commerce  -  Zen Cart Thai for Shopping Carts 1.1
Zen Cart Thai is the Thai Localization for Zen Cart. Zen Cart is a PHP e-commerce shopping cart program built on Zen Cart and based on OScommerce.
5.57 MB  
E-Commerce  -  Zen Cart Thai 1.1
Zen Cart Thai is the Thai Localization for Zen Cart. Zen Cart is a PHP e-commerce shopping cart program built on Zen Cart and based on OScommerce.
 
Modules  -  Cart Conversion Suite 1.0
This contribution contains the following:1. Cube Cart to OScommerce Converter (also may be known as Cube Cart or Cube-Cart).This is based on the "Cube Cart to OSC Converter" (homepage by Michael Pope.2. ClickCart to OScommerce Converter (also may...
 
Modules  -  Add a BACK button in the product_info 1.2
This is a small modification in order to alow costumers to go back when they are in the product info page.
 
Modules  -  Hide Add To Cart 1.01
By removing these buttons for these products they become an online advertisement.This contribution works by setting a flag in the manufacturers table. When flagged accordingly, any product supplied by this manufacturer will not display the "Buy...
 
Modules  -  Contact Us - More info on the page 1.1
Rather than just the email form, it contains the full postal address, telephone, fax and email linkImprovements: - corrected tabing order in the e-mail form - moved e-mail form to the right side of business information. - added COUNTRY field to...
 
Modules  -  Ubercart Sub-Product 6.x-1.0-rc1
AboutThis module allows you to create a 'super' or 'parent' product node-type and then display a list of 'child' products in a table with a single add to cart button to add multiple products to the cart in one go.Features * Integrates with...
20.48 KB  
Modules  -  Add Thumbnail Image to Shopping Cart 1.22
When a customer adds an item to the shopping cart, a small pic of the item is also display along with the previous features: Remove QTY, Products(s) Total. There are only 2 files that change: general.php and order_details.php
 
NEW DOWNLOADS IN SCRIPTS, MODULES
Scripts  -  Free Ecommerce website creator 1.2
Free Ecommerce website creator is a free PHP shop creating script. This allows you to put a online shop on your own website. Create your own free ecommerce website for Your Business. Create an online shop using easyGUI online shop creator. The...
1.44 KB  
Scripts  -  MochiGames PHP Script ZDR 1.00
MochiGames PHP Script ZDR is web site, ready for use, for flash games. These flash games are downloaded automatically by "MochiGames PHP Script ZDR" from MochiGames media. The use of the games is free, you can use your own Mochi Publisher ID and...
368.54 KB  
Scripts  -  Php Chat 2.0
Add a free php site, single sign-on and multiple skins, 100% free 1. Server Modes: The chat server has paid mode and free mode. If the free chat mode, a free chat room will be assigned to your website with your domain as the room name. 2....
938.87 KB  
Scripts  -  Nibbleblog 3.0.1
Nibbleblog it's a powerful engine for creation and manipulation of BLOG's completely free. Very simple to install and configure (Only 1 step). The database used is based on XML files and this way it is not necessary to use MySQL or similar DBMS....
371.09 KB  
Scripts  -  PHP File Manager | CloudOsys 2.9b8
CloudOsys is a PHP file manager, a tool that allows your visitors upload files such as media content directly to your website. Your visitors will upload files directly to your website, where they can share and comment on them. Through cloud...
1.41 MB  
Modules  -  TinyMCE Node Picker 6.x-2.1
This module will de discontinued and replaced with Node Picker as soon as a stable release is available.TinyMCE Node Picker provides a button in TinyMCE that displays a list of links to content. Choosing a link inserts it into the editor.The...
20.48 KB  
Modules  -  Fapilicious 5.x-1.x-de
Fapilicious is a collection of FormAPI goodies.I hope to make it a repository of reusable FormAPI trickery and short cuts. Currently it has small collection of powerful FormAPI element validators.Please submit your favorite tricks as patches so we...
10 KB  
Modules  -  Donation Goals 6.x-1.x-de
The Donation Goals module lets you create nodes of the type "Donation Goal." These goals allow you to set an amount of money you'll need for whatever you're saving up for. Visitors of the site can then donate money through PayPal. Once the target...
20.48 KB  
Modules  -  Plica Twitter 1.0.1
Plica TwitterInstallation : * Download, unzip, and install plugin dir in /wp-content/plugins * Activate * All right now
10 KB  
Modules  -  Page Array 5.x-1.x-de
The pagearray module is a small (single function) helper module that can be used whenever there is a need to load the output of any Drupal path in data form. Based on the code in index.php, Page Array bypasses the theme('page') call, instead...
10 KB