Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. 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 Databases 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 November 10th, 2004, 05:46 PM
Authorized User
 
Join Date: Nov 2004
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default Total Amount display

I want to display the total amount of the itmes that were added by the visitor to the shopping cart at the time of checkout. I have a field in named Item_Price.

How i add all the amount at the end and show to the customer as the bill..and also the total number of itmes he has in the cart...meant he added 3 items while shopping to the cart...i just wanted to show the number of itmes in the cart at each page...plz let me know how to show the number of items to the user..?

Farzan Q.
BS(TeleCommunication)
Iqra University.
__________________
Farzan Q.
MS(TeleCommunication)
Mohammad Ali Jinnah University.
 
Old November 12th, 2004, 11:30 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

You may use a hidden form field and add up to its value everytime the user adds items to the cart. Or you can even do that with having a session variable, that too would be possible.

You got to choose the efficient and a comfortable option out of these.

Hope that helps.
Cheers!

_________________________
- Vijay G
Strive for Perfection
 
Old November 14th, 2004, 07:25 AM
Authorized User
 
Join Date: Nov 2004
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by happygv
 You may use a hidden form field and add up to its value everytime the user adds items to the cart. Or you can even do that with having a session variable, that too would be possible.

You got to choose the efficient and a comfortable option out of these.

Hope that helps.
Cheers!

_________________________
- Vijay G
Strive for Perfection
Hey Vijay,

Thanx ....i think it might be helpful...i will try to do this...

Plz check back if i gets stuck i will post here and i will be needing ur help:)

Thanx once again!
Have a nice day!

Farzan Q.
BS(TeleCommunication)
Iqra University.





Similar Threads
Thread Thread Starter Forum Replies Last Post
how to retrieve the amount nimmalaramesh SQL Server 2000 1 December 26th, 2007 12:38 PM
display total per week left to the caleder control veeruu ASP.NET 2.0 Basics 0 March 12th, 2007 09:23 AM
display total per week left to the caleder control veeruu ASP.NET 2.0 Professional 0 March 12th, 2007 09:20 AM
How display large amount of dynamic text relaytest49 ASP.NET 2.0 Professional 2 October 6th, 2006 02:19 PM
label cant display total value... pls help life_s Ng General .NET 2 August 20th, 2004 02:17 AM





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