Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 28th, 2004, 09:08 PM
Authorized User
 
Join Date: Jan 2004
Posts: 78
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Ashleek007
Default total of items in my basket

Hi, ive created a basket using cookies and the session object where the values of the products are stored in a variable

how do i add the total of the prices of the items in the basket?

cheers
ASH

__________________
My new web design domain
www.askmultimedia.co.uk
 
Old January 29th, 2004, 10:03 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Are you storing each item separately in the Session or Cookies objects? If so, you could loop through the collection objects to make a calculation. Otherwise, could you post some code about what you are trying to do?





Similar Threads
Thread Thread Starter Forum Replies Last Post
shopping cart-fly to basket in asp.net shanthiniGanesh .NET Framework 2.0 3 August 1st, 2012 01:36 PM
persistent shopping basket and price changes andieje BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 May 3rd, 2009 12:12 PM
Sub Total Rjh Reporting Services 0 June 21st, 2006 04:11 PM
displaying 6 items only having 20 items Lakshmi KS VB Components 1 February 17th, 2004 10:34 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.