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

Appendix B. Downloadable Products

In this appendix, we are going to look at how we would rapidly extend our framework to allow downloadable products. In this chapter, you will learn:

  • How to extend the types of products available in the framework
  • How to extend the payment and administration areas to unlock downloadable products when payment is made
  • How to lock access to downloaded products when payment is refunded
  • How to create a centralized download area for customers to access downloadable products

This is a very basic implementation of downloadable products functionality. Ideally, we would also look into storing the files in a location that isn't accessible through the Web. We would then either copy the file for each user who purchases the product ...

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