Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6
This is the forum to discuss the Wrox book Beginning PHP, Apache, MySQLWeb Development by Michael K. Glass, Yann Le Scouarnec, Elizabeth Naramore, Gary Mailer, Jeremy Stolz, Jason Gerner; ISBN: 9780764557446
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 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
  #1 (permalink)  
Old November 19th, 2004, 01:47 AM
Registered User
Join Date: Apr 2004
Location: , , United Kingdom.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 14 - e-commerce

I'm working on the Cart in chapter 14. I really like it but there are a couple of issues so far:

1) It works fine for any purchase up to $1,000 but as soon as the total goes above this the total before shipping figure reverts to $1.00 !! I'd say this is a serious flaw for a shopping cart! I have seen the Errata for this chapter but it hasn't made any difference to it. I know that the book states that it is a Cart for small purchases, but I'd really like to fix this.

2) How can I add a Thumbnail image to the page so that people can see a view of the product?

  #2 (permalink)  
Old November 20th, 2004, 12:49 PM
Registered User
Join Date: Nov 2004
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to ftb_tx

as far as the shipping figure or the total not being right it has something to do with the session or I think it does.

on checkout3.php if you place a session_destroy(); at the very end it destroys the session and you can start the shopping cart over again with no problems. (Or I hope so, I have tested a few times and have had not problems once I did that.)

don't know about the images because I haven't really look at that yet.

Similar Threads
Thread Thread Starter Forum Replies Last Post
chapter 14 vthunder70 BOOK: Beginning ASP.NET 2.0 and Databases 2 October 3rd, 2007 02:11 PM
Chapter 14 example pkumar@ech BOOK: Professional Jakarta Struts 0 November 15th, 2006 09:10 AM
Chapter 14 JonG BOOK: Beginning Visual Basic 2005 Databases ISBN: 978-0-7645-8894-5 1 March 21st, 2006 10:04 PM
Chp 14 e-commerce JamesA BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 3 September 3rd, 2004 06:14 PM
Chapter 14 Mike Smith BOOK: Professional C#, 2nd and 3rd Editions 2 January 4th, 2004 05:13 PM

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