Closed gaillafr closed 10 years ago
There is no other way for us to indentify Europe regions because in ps_zone table we only have id_zone
and name
fields and both fields are dynamic, they can not be used to identify region.
Analysed source code. It can not be hard-coded. Merchant must have possibility to assign carriers for particular zones in module settings page. This will help to avoid confusion.
Fixed. Implemented functionality to assign carriers for zones in module settings page. No settings are hardcoded anymore.
https://github.com/PrestaShop/dpdpoland/blob/master/classes/service.php#L45
A list of continents is not generated the same way as in others files. Why setting it differently? What if the merchant creates new zones of overrides the existing ones?