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
Unit testing
Functional testing