Cristian Capannini Posted May 7 Share Posted May 7 Hi i've create module to manage tax with table and admin interface. The structure is: /modules /ps_customtax ps_customtax.php customtax.tpl customtax.php /controllers /admin AdminCustomTaxController.php The module to install appear in the admin panel but cannot install. Tried to put message to identify errors. Can you help me for prestashop 8.1.0? Thanks. ps_customtax.zip Link to comment Share on other sites More sharing options...
Andrei H Posted May 7 Share Posted May 7 Hello, There are multiple issues with the module. PrestaShop has a free module validator, where you can check as well: https://validator.prestashop.com/ (you need to check the Compatibility tab) But, basically, in order to fix it, you need to do the following: - rename the folder to 'customtax' - rename the ps_customtax.php file to customtax.php - rename the class from Ps_CustomTax to CustomTax - remove the Tools::displayWarning calls You should be able to install it at this point. Link to comment Share on other sites More sharing options...
ZHSoft Posted May 10 Share Posted May 10 https://validator.prestashop.com/generator Your module is very non-compliant, causing errors. The above link is the link to the official website to generate the DEMO module. It is recommended that you generate a test module, compare it carefully, and make corrections one by one. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now