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

Chapter 8. Shipping and Tax

After discussing the checkout and order process in detail in the previous chapter, we now need to start building the functionality for this. In this chapter you will learn:

  • How to calculate shipping costs based on:
    • Product
    • Weight
    • Location
    • "Shipping rules"
  • About third-party shipping APIs
  • How to integrate shipping and tracking notifications on orders
  • How to integrate tax costs into our system

Shipping

Shipping is a very important aspect of an e-commerce system; without it customers will not accurately know the cost of their order. The only situation where we wouldn't want to include shipping costs is where we always offer free shipping. However, in that situation, we could either add provisions to ignore shipping costs, or we could ...

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