...
It is therefore highly advised to number your module's versions sequentially, and using only number.to only use numbers – because the upgrade code uses PHP's version_compare() method.
Note | ||
---|---|---|
If the new version of your module adds or update its hooks, you should make sure to update them too Indeed, since the hooks are (usually) defined when the module is installed, PrestaShop will not install the module again in order to include the new hooks' code, so you have to use the upgrade methods: For instance, here's the
|