O'Reilly logo

Effortless E-Commerce with PHP and MySQL by Larry Ullman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

8: Creating a Catalog

After preparing the server for the site (see the previous chapter), the next step is to start creating the catalog, because the customer can’t shop without it. To do so, you’ll need to prepopulate the database with some products, since you won’t develop the administrative scripts for adding products until Chapter 11, “Site Administration.” Then you can write the two PHP scripts for generating the catalog: one for browsing by category and a second for listing specific products.

After that, the chapter demonstrates better ways to show the availability of products and any applicable sale prices. From there, you’ll write new PHP scripts for showing the sale items on their own.

If you have intermediate PHP and MySQL experience, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required