I'm developing a custom Prestashop Module. The requirement is simple: Add a predefined block of javascript code to specific sections of the shopping process. Those are:
- Home page
- Product page
- Product added to cart
- Purchase completed
The code will be specific to each page.
I already read the basics of module development, but I can't find documentation for this specific functionality.
I already have a working module that is installable and configurable from the back office admin. I'm assuming I need to extend the footer and check the page currently being served, but I have no idea how to do this.