Chapter 10. Building the Shipment Module

The shipment module, alongside the payment module, provides a basis for further sales functionality in our web shop. It will enable us to choose the shipment method when we reach the checkout process of the upcoming sales module. Similar to payment, shipment can be sort of static and dynamic. Whereas static might imply a fixed pricing value, or even a calculated one by some simple conditions, dynamic usually implies a connection to external API services.

Throughout this chapter, we will touch base with both types and see how we can set up a basic structure for implementing the shipment module.

In this chapter, we will be covering the following topics of the shipment module:

  • Requirements
  • Dependencies
  • Implementation ...

Get Modular Programming with PHP 7 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.