In this, second add-on to our main 'E-commerce application with PHP, MySQL, Ajax and PayPal' series we will learn how to add the additional, shipping address option for the visitors, who might wish their goods to be send to the different address then the billing one.
Most importantly however, we will add the functionality for the system to calculate the shipping cost for the order based on the destination and weight of all products in the basket.
For local deliveries, where shipping address is within the same country as our online business, we will use the zone with associated post codes approach, wheres for international orders simply country of destination.
Either it's a local or international destination, we will create a list of different shipping types – such as for instance : Next day delivery, Standard and Economy.
This is the second add-on to our main E-commerce course, therefore you have to complete the main and the first add-on titled 'Static Urls, Meta tags and Re-send activation email for E-commerce series' before you proceed with the instructions in this course.
You will continue with the files created in the previous two series so please make sure that you have competed them first.
Build E-commerce website with PHP, MySQL, jQuery and PayPal
Static Urls, Meta tags and Re-send activation for E-commerce series (1st add-on)
PHP PDO, Custom Exception Handler and Namespaces for E-commerce series (3rd add-on)