Install the zip file of the module via the Prestashop administration panel.
In the configuration panel of the module set the PHPList Database name and the table prefix attributes, then press the “Save” button.
If it is the first time you install the module it will check for the existence of the required PHPList attributes (ps_firstname and ps_lastname) and for at least two existing lists created in PHPList. If the attributes are not found or if only one list exists, the module will ask you to fix the problems. Just push the button “Fix”.
If PHPListSync has been installed before the Newsletter Block module or if this one has been uninstalled and successively reinstalled, in order to ensure the proper functioning of the auto synchronization, please check in the module position administration panel, at the “displayFooter” reference, that the PHPListSync module appears in a later position compared to the Newsletter block module, otherwise modify the order.
If you do not have any DB error and the PHPListSync configuration panel show you the dropdown list with your PHPList lists, then the module is well installed and connected to your PHPList DB.
Please consider that is mandatory that the PHPList database has to be installed within the same MySQL instance of the Prestashop database and that the MySQL user used for your Prestashop installation need to have full access to the PHPList DB (the privileges of the users are usually managed within your PHPMyAdmin web application or within the cPanel of your provider)
This module will override the following Controllers and Methods of Prestashop:
You could receive an installation error regarding the inability of installing the override if you already have installed another module that override one of this controller’s methods. In this case the module will not be able to auto synchronize the DB’s until you will manually merge the content of your existing IdentityController.php file inside /override/controllers/front folder of your PS installation and the existing AdminCustomerController.php and AdminModulesController.php files inside /override/controllers/admin folder with the code provided in the user guide of the module. PHPListSync overrides multiple methods. Only the methods that have not been automatically installed because already overridden will need to be merged manually.