Post by djordje » Fri Mar 31, 2017 5:22 am

Hello, I am creating a shop that sells food, mostly fast food, and require the user be able to select his shipping zone within the city so that shipping fees can be calculated accordingly. Does anybody have an idea on how to accomplish this? My OpenCart version is 2.2.

Any help is appreciate. Thanks in advance.

User avatar
New member


Fri Oct 14, 2016 4:23 pm

Post by Johnathan » Fri Mar 31, 2017 11:26 pm

If you can divide the areas by postcode, you could use Postcode-Based Shipping or Formula-Based Shipping. That way the right rate will come automatically, depending on the postcode the customer enters. Note that Formula-Based Shipping also includes the ability to create distance-based rates, if you need those for delivery calculations.

If postcodes won't work, you could just create multiple shipping options for your "zones", and have the customer choose the right one for their area. For example:

Zone 1 = $5.00
Zone 2 = $10.00

If you'd rather the customer be forced to choose their area *before* seeing shipping options, you'll probably need to create new sub-zones in the Zones area of the admin panel. That way customers would choose their zone in the "State / Region" dropdown (which you'd need to retitle) and you can base shipping rates on that. That's probably the easiest way to do it without modifying core OpenCart files.

Image Image Image Image

User avatar
Global Moderator


Fri Dec 18, 2009 3:08 am

Who is online

Users browsing this forum: No registered users and 4 guests