saviorcode Posted May 11, 2020 Share Posted May 11, 2020 Hi, I have already a city table created in db , but how I can restrict a carrier by city ? or how to associate a city to a ZONE and carrier read if that city are in the specific ZONE ? Link to comment Share on other sites More sharing options...
saviorcode Posted May 11, 2020 Author Share Posted May 11, 2020 28 minutes ago, ndiaga said: Hi, I think you should use the goelocation API : http://doc.prestashop.com/display/PS17/Geolocation I mean to assign a carrier to specific cities. Link to comment Share on other sites More sharing options...
Teemu Mäntynen Posted May 11, 2020 Share Posted May 11, 2020 'Ship in 3D' addon shipping module lets you restrict carrier not just by destination country (using PrestaShop's country ISO code) but also by state (using PrestaShop's state id) and by postal code (using regular expressions). If the cities you have in mind have their own postal code or ranges of postal codes, the module might be the answer to your need.https://addons.prestashop.com/en/shipping-carriers/48685-ship-in-3d.html Link to comment Share on other sites More sharing options...
apollux Posted October 26, 2021 Share Posted October 26, 2021 On 5/11/2020 at 7:33 AM, ndiaga said: Hi, I think you should use the goelocation API : http://doc.prestashop.com/display/PS17/Geolocation Why would you leave a reply that makes no sense to the question? Geolocation selects Country/State. It does not select or fill a CITY, since there is no set Location for that. 1 Link to comment Share on other sites More sharing options...
apollux Posted October 26, 2021 Share Posted October 26, 2021 On 5/11/2020 at 9:25 PM, Teemu Mäntynen said: 'Ship in 3D' addon shipping module lets you restrict carrier not just by destination country (using PrestaShop's country ISO code) but also by state (using PrestaShop's state id) and by postal code (using regular expressions). If the cities you have in mind have their own postal code or ranges of postal codes, the module might be the answer to your need.https://addons.prestashop.com/en/shipping-carriers/48685-ship-in-3d.html Your answer DOES not help the question. But I know, let's sell some modules, cuz why not? 1 Link to comment Share on other sites More sharing options...
El Patron Posted October 28, 2021 Share Posted October 28, 2021 since there was no viable solution proposed above, I did a little search and this addons module would be worth review https://addons.prestashop.com/en/shipping-carriers/47498-restricting-carriers-by-zip-code-district-or-city.html note: ps only goes to country level, it does not support state/zip 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