Looking to make a custom shipping method.. Free Local Delivery. This is when a customer is within range or in the same city and it offers this during checkout so they get zero shipping charge for a local delivery option.
I believe you can achieve it through a shopping basket price rule, putting a condition on the 'shipping price'.
You need to create 2 rules :
1 if shipping city is having the zipcode '<zipcode>'
1 if shipping city is NOT having the zipcode 'zipcode'
Please let us know in case we can help you in any way.
One page checkout with 1500+ Downloads, Multi-Vendor Marketplace with 1000+ downloads only at www.Knowband.com, Contact us: firstname.lastname@example.org.
You can use owebia shipping extension for both magento 1.x or Magento 2.x As I used it for shipping calculation based on zipcode , location and weight it worked perfect
You just need to configure json configuration a little bit to work as per your requirement .I will sure help you out to work it for you...
if your problem solved , Accept it as solution