murtaza.dev Posted July 17, 2013 Share Posted July 17, 2013 (edited) Shipping Module based on driving distance I need module for my project which will calculate driving distance between two points, the store and the delivery address of the logged in user. I search forums for the module, but prestashop has paids modules often and nobody is willing to help in building such a module. I have developed such module using Google Distance Matrix API for driving distance. It is not finished completely, there is always a room for enhancements. I have done the calculation for what I need you are free to modify. I am attaching a zip for the said module for free so someone can benefit from it as prestashop community totally based on paid modules instead of open source. I will be highly appreciated if you keep the Author name unchanged n intact. Rest is your creativity. Regards Screenshot deeliciousCarrier.zip Edited July 17, 2013 by murtaza.dev (see edit history) 1 Link to comment Share on other sites More sharing options...
plaza24 Posted July 17, 2013 Share Posted July 17, 2013 Shipping Module based on driving distance I need module for my project which will calculate driving distance between two points, the store and the delivery address of the logged in user. I search forums for the module, but prestashop has paids modules often and nobody is willing to help in building such a module. I have developed such module using Google Distance Matrix API for driving distance. It is not finished completely, there is always a room for enhancements. I have done the calculation for what I need you are free to modify. I am attaching a zip for the said module for free so someone can benefit from it as prestashop community totally based on paid modules instead of open source. I will be highly appreciated if you keep the Author name unchanged n intact. Rest is your creativity. Regards Hello, seems very usable module and free! Question - why only for logged users? Is it possible do it for all shop users? Link to comment Share on other sites More sharing options...
murtaza.dev Posted July 17, 2013 Author Share Posted July 17, 2013 Hello, seems very usable module and free! Question - why only for logged users? Is it possible do it for all shop users? Well it needs a address to work with. So Logged in users only. If you want to modify, go ahead its free. Have Fun Link to comment Share on other sites More sharing options...
plaza24 Posted July 17, 2013 Share Posted July 17, 2013 Well it needs a address to work with. So Logged in users only. If you want to modify, go ahead its free. Have Fun your module have bug in deeliciousCarrier.php file, can't install it. and also how i can manage your module in backoffice? Link to comment Share on other sites More sharing options...
murtaza.dev Posted July 17, 2013 Author Share Posted July 17, 2013 your module have bug in deeliciousCarrier.php file, can't install it. and also how i can manage your module in backoffice? check with the module name. linux server often do that. After install it can be configure with first mile cost, every other mile cost and warehouse address 1 Link to comment Share on other sites More sharing options...
hung.trantrong Posted November 4, 2013 Share Posted November 4, 2013 (edited) check with the module name. linux server often do that. After install it can be configure with first mile cost, every other mile cost and warehouse address Hi Murtaza, Thanks for your contribution. I downloaded and uploaded (via Modules) to my site but I got below error. "deeliciousCarrier (class missing in /modules/deeliciousCarrier/deeliciousCarrier.php)" Can I make some changing on the source code file? Regards, Edited November 4, 2013 by hung.trantrong (see edit history) Link to comment Share on other sites More sharing options...
murtaza.dev Posted November 4, 2013 Author Share Posted November 4, 2013 yeah sure. keep my name intact Regards 1 Link to comment Share on other sites More sharing options...
hung.trantrong Posted November 5, 2013 Share Posted November 5, 2013 yeah sure. keep my name intact Regards Yes, sure Murtaza. Link to comment Share on other sites More sharing options...
murtaza.dev Posted November 5, 2013 Author Share Posted November 5, 2013 Yes, sure Murtaza. Post your solution online, so other can be benefit from it. Regards Link to comment Share on other sites More sharing options...
hung.trantrong Posted November 5, 2013 Share Posted November 5, 2013 (edited) Post your solution online, so other can be benefit from it. Regards I don't find any place to attach the zip file so I describe the way I edit file. In line of code: 7th and 10th, I changed class name "MyModule" to "deeliciousCarrier" then it worked. Because for module in prestashop, it requires the class name and folder name is same. PS: Actually, I still don't know how to use this module although I can install. Edited November 5, 2013 by hung.trantrong (see edit history) Link to comment Share on other sites More sharing options...
peters Posted January 13, 2014 Share Posted January 13, 2014 Hi Murtaza, Thanks for your contribution! how do I configure the delivery method, so that it will be displayed during the checkout? at the monet the delivery method is enables but it will not displayedI only see "Shipping cost based on driving distance between Deelicious and your delivery address" - nothing else Any idea? Link to comment Share on other sites More sharing options...
naveenemf Posted March 1, 2014 Share Posted March 1, 2014 (edited) Shipping Module to check pin code availability like flipkart.com Edited March 1, 2014 by naveenemf (see edit history) Link to comment Share on other sites More sharing options...
murtaza.dev Posted March 1, 2014 Author Share Posted March 1, 2014 Sorry for my late reply, was not active on this forum. However you can write me on [email protected] @Peters Module will work if you are on cart page and you have valid address as delivery address. Module will calculate cost between your and shop address(which can be configured from module administration). @Navenemf. Noted. Will do it, if I got time. Otherwise you are free to modify uploaded plugin/module. But do link here so everybody can benefit from it. Regards Link to comment Share on other sites More sharing options...
najzou Posted September 26, 2014 Share Posted September 26, 2014 Im experiencing same problem as Peters ive got shop and delivery address properly configured. However i cannot see where the price gets calculated. Could you help me through with this problem ?? Sorry for my late reply, was not active on this forum. However you can write me on [email protected] @Peters Module will work if you are on cart page and you have valid address as delivery address. Module will calculate cost between your and shop address(which can be configured from module administration). @Navenemf. Noted. Will do it, if I got time. Otherwise you are free to modify uploaded plugin/module. But do link here so everybody can benefit from it. Regards Link to comment Share on other sites More sharing options...
TACS Posted March 10, 2015 Share Posted March 10, 2015 I sure could make use of this module if someone was able to develop it further Link to comment Share on other sites More sharing options...
TACS Posted March 11, 2015 Share Posted March 11, 2015 are there any developers out there that could help assist me with this module please? I have the module installed and to show up in the carriers without having to modify any code other than whats been stated above on PS 1.6.0.9 However, there are no calculations of shipping costs made and it says in the shipping selection that the carrier is free. is there a piece of code that needs to be changed somewhere that i am overlooking? any help would be greatly appreciated! and it could lead to another usefull FREE module for the community 1 Link to comment Share on other sites More sharing options...
murtaza.dev Posted March 11, 2015 Author Share Posted March 11, 2015 Whats you want to do that this module is not doing? Link to comment Share on other sites More sharing options...
TACS Posted March 11, 2015 Share Posted March 11, 2015 Whats you want to do that this module is not doing? Hi I have attached images to this post of what i am referring to above. there are no calculations shown and the carrier shows free although it is not set to free. Link to comment Share on other sites More sharing options...
murtaza.dev Posted March 12, 2015 Author Share Posted March 12, 2015 I have set it to some threshold amount, you need to adjust that to amount to show against career. Link to comment Share on other sites More sharing options...
TACS Posted March 12, 2015 Share Posted March 12, 2015 I have set it to some threshold amount, you need to adjust that to amount to show against career. Im not sure what you mean, if you are referring to the settings of the module, i have updated those setting through the back office. but it still displays as shown above. Link to comment Share on other sites More sharing options...
murtaza.dev Posted April 7, 2015 Author Share Posted April 7, 2015 Guys, I have added this module to Github https://github.com/murtazakhussain/deeliciousCarrier , you can now fork the project. P.S I have intentions to develop it further for newer prestashop versions. Post what you want to see in new module .. 1 Link to comment Share on other sites More sharing options...
TACS Posted April 7, 2015 Share Posted April 7, 2015 It would be excellent if it can be modified just to work on the more recent versions, I still haven't been able to get it working, but I know it would be a very useful module when it does Link to comment Share on other sites More sharing options...
TACS Posted April 20, 2015 Share Posted April 20, 2015 hi murtaza.dev, Have you had chance to develop this further yet? as for ideas on what to add, you could always set limits/Ranges, so as an example a limit would be set within a 15 mile radius of the originating post code.. also the ability to quick check local delivery cost could be useful,, Link to comment Share on other sites More sharing options...
pruthvi Posted December 2, 2015 Share Posted December 2, 2015 hello, i m new prestashop user i am getting err after uploading deelociouscarrier in my module folder... deeliciousCarrier (class missing in /modules/deeliciousCarrier/deeliciousCarrier.php)?? plz help Link to comment Share on other sites More sharing options...
murtaza.dev Posted December 3, 2015 Author Share Posted December 3, 2015 I think its the Class name, if you are using Linux then it is case sensitive. Make the class name case as what is in the error. Link to comment Share on other sites More sharing options...
temmyazeezcouture Posted December 8, 2015 Share Posted December 8, 2015 Need help will appreciate so much the deeliciouscarrier is not appearing at my list of delivery and i have carefully follow your instruction though it appear at my carrier list at back office. my website is www.aso-iyi.com. I have attached pictures to explains Link to comment Share on other sites More sharing options...
murtaza.dev Posted December 8, 2015 Author Share Posted December 8, 2015 I thinks its due to I had set it to show above certain amount and distance mile. you need to check the code. Its been long since I have worked on it. You can check it with more distance and more amount in cart, and check it shows up. I have moved this to github. You can open issues there and if I get time I will try to resolve it. Regards Link to comment Share on other sites More sharing options...
janusrokkjaer Posted May 6, 2016 Share Posted May 6, 2016 Thank You very much for sharing this. 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