Manu-41 Posted November 28, 2022 Share Posted November 28, 2022 (edited) Bonjour, je souhaite faire un clic and collect, et afficher un transporteur selon un code postal de livraison ( adresse de refence). exemple, si code postal 45100, alors ont affiche ce transporteur. est ce possible? si oui, comment? Merci pour vos informations. Edited January 4, 2023 by Manu-41 ok (see edit history) Link to comment Share on other sites More sharing options...
Eolia Posted November 28, 2022 Share Posted November 28, 2022 il faut faire un override de la fonction getAvailableCarrierList() de la classe Carrier.php, pas le choix. Link to comment Share on other sites More sharing options...
Manu-41 Posted November 28, 2022 Author Share Posted November 28, 2022 39 minutes ago, Eolia said: il faut faire un override de la fonction getAvailableCarrierList() de la classe Carrier.php, pas le choix. Merci Eolia, là, c'est trop complexe. Je vais à la pêche aux infos Link to comment Share on other sites More sharing options...
Manu-41 Posted January 4, 2023 Author Share Posted January 4, 2023 Pour ceux que ça intéresse : https://www.h-hennes.fr/blog/2021/04/22/prestashop-restreindre-un-transporteur-par-code-postal/ fonctionne sous ps 1.7.8.2 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