Web Development
3 replies
by bill
You can use many roads to get to this application. Given the limited number of types of books (you didn't mention how many total titles) I'd suggest you use combo or list boxes to show the various available books, and the associated pricing.
Your 'shopping cart' can be as simple as a text box to hold the selected items.
I would think one form is all you'll need to construct, where the user can view the selections available, make their choices, and a cancel/checkout button group.
On cancel you would simply exit, on checkout you would total the bill, apply appropriate discounts and simulate the taking of cash/credit card to pay the bill.
The code is to lengthy to post here, but I'd be happy to look at what you've got so far and offer a suggestion or two.
by toliver
by toliver
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending