...
Only the three first are necessary for a basic module: the main file, the cache configuration file (which is autogenerated by PrestaShop anyway) and the icon file. All the other ones can be used if necessary, but a module can work without them.
The module can also as many other files and folders as necessary: /css
, /img
, /js
, etc.
Info |
---|
If wish to use an external library, it should be put in a dedicated folder. That folder can use one of these names: 'lib', 'libs', 'libraries', 'sdk', 'vendor', 'vendors'. Choose the most appropriate one for your library (indeed, 'libraries' doesn't not have the same meaning as 'sdk'). You can have more than one such folder, for instance |
The PrestaShop coding convention
...