O'Reilly logo

PHP 5 e-commerce Development by Michael Peacock

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

Giving users control

Along with giving users a choice for products in our store, we may also wish to give them some control over the products; for example, this could include:

  • Uploading a photograph or image, for our Juniper Theatricals store; this will be for customers to order and purchase customized novelty t-shirts
  • Supplying some custom text, again for our Juniper Theatricals store; this will be for customers to customize their novelty t-shirts with a punch line of their own, to fit into the products template

How to customize a product?

We need to make it possible for our customers to customize the product through both file and image uploads, and then entering of free text.

Uploads

If the product is to allow the customer to upload an image, then ...

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