Here is a small tip on how to use hooks in Prestashop 1.7. In comparison with Prestashop 1.6 version, I can say that 1.7 is a sweet candy. Theme development process is much easier and faster. It is rather easy to change modules positions and place them into various hooks using just one file — theme.yml. It’s easy to create your own hook and place modules into it.
To add a new field on a checkout page you need to use the Dependency Injection mechanism. For that let’s add the file di.xml to the frontend configuration of the module. Here is the path to the file:
During the configuration process of Prestashop store you might face some problems with footer copyright message editing. By default it looks like “© 2016 – Ecommerce software by PrestaShop™” and it has a link that transfers you to www.prestashop.com website. So to edit it and change the link you have to follow these simple steps. It doesn’t require some special development skills so anyone of you can easily perform it. Let’s go!
We continue an overview of Prestashop 1.7 and let’s cover another very important topic for newcomers. For example, your business is connected with selling apparel, so almost every model of shirt or dress has its own attributes. Let it be size, color or material, therefore your customers have a choice and they are able to find a certain product that suits them. So how to add attributes to the products and give more options to your customers during they are shopping? Let’s have a look at it:
For the purpose of speeding up Magento frontend performance, some tasks are executed in separate processes in the background. Stock updating, cache flushing, catalog updating, product price calculating: these are very heavy and time-consuming processes, that’s why as general they are executed in the background and usually by Cron. The description of how to add 3 processes in Cron you can find in Magento 2 Developer Documentation.