Testing our module
Let’s do the following actions to test our freshly created module:
- We can now install our module via the BO modules manager controller.
- Then, we can add products to our cart on the FO of PrestaShop
- We can go to the checkout page. We can check the shipping method options and whether our
Relay carrier
module is available and displays the relay pickup points list when clicked on. - By choosing a pickup relay point, we can check in the BO order view when the order is confirmed whether the pickup point details are available.
- We can add the widget to any FO smarty template and see whether it displays the relay pickup point promotion as planned.