Post by speedimpex » Thu Nov 24, 2011 2:35 pm

I have enabled the cash on delivery option, but only for certain postcodes. But it's not showing up anywhere when you go to buy something. The only payment options that come up are worldpay or paypal. Am I missing something?

cheers
Gill

New member

Posts

Joined
Tue Jul 12, 2011 2:17 am

Post by speedimpex » Thu Nov 24, 2011 9:15 pm

To add further detail. I have 3 Geo Zones defined. For Worldpay and PayPal I have them set to cover all Geo Zones as a payment method and so is applicable to the 3 I've got defined.
For cash on delivery I only want it to apply to 1 Geo Zone. I have enable COD and made it applicable to only the 1 Geo Zone but it is not coming up as a payment option if you put a postcode in that belongs to that Geo Zone. So I'm only getting the option to pay with WorldPay or PayPal. I want the COD to be an option.
Any ideas?

cheers
Gill

New member

Posts

Joined
Tue Jul 12, 2011 2:17 am

Post by fido-x » Thu Nov 24, 2011 9:25 pm

A zone is a state/province/region within a country. A "geo zone" is a combination of the country and state/province/region. Postcodes have nothing to do with it.

Create a new geo zone and call it something like "COD Zone", select the country and state/province/region (zone) to which it will apply and click "Save". Once you have done this, set this as the geo zone in the COD payment method.

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by speedimpex » Thu Nov 24, 2011 9:44 pm

Thanks for this Fido. Makes sense. However if I create a new Geo Zone for COD then assign the region's to which it will apply to, then there are some postcodes within those regions that I don't want including. E.g. the region is Denbighshire which is made up of multiple postcodes. We only want COD for CH7 and LL11 postcodes. I have already edited the weight based shipments and free delivery modules so that only 4 postcodes are available for free delivery. If you put any other postcode in that is in this region then free delivery is not an option. That's why I need COD to only be available to the same 4 postcodes I've got set up for Free delivery. Based on what you have said, do I need to alter the COD php file in the same way that I've done the free shipping and weight php files.
Hope this makes sense
cheers

Gill

New member

Posts

Joined
Tue Jul 12, 2011 2:17 am

Post by fido-x » Thu Nov 24, 2011 9:49 pm

OpenCart does not use postcodes. In some countries it is required by law for addressing purposes (payment address, shipping address).
speedimpex wrote:... I have already edited the weight based shipments and free delivery modules so that only 4 postcodes are available for free delivery. If you put any other postcode in that is in this region then free delivery is not an option. That's why I need COD to only be available to the same 4 postcodes I've got set up for Free delivery. Based on what you have said, do I need to alter the COD php file in the same way that I've done the free shipping and weight php files...
Yes.

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by speedimpex » Sat Nov 26, 2011 10:27 pm

Thanks for the help Fido. Got it sorted
Gill

New member

Posts

Joined
Tue Jul 12, 2011 2:17 am

Post by speedimpex » Sat Aug 11, 2012 8:06 pm

I thought I had everything sorted but I'm having problems again. I have updated the free and weight php files under catalog/model/shipping. In my last post I asked if I needed to update the COD file as well, and I was told yes. However I have looked at all the COD files I have, and I cannot find anything that looks like it should be updated. For the initial 4 postcodes I set to have free delivery they're still intact. But now I'm trying to add other postcodes (I've put them in the free and weight php files), when you checkout with one of those postcodes it's not coming up with the payment on delivery option. There's only Paypal. What am I missing?
cheers
Gill

New member

Posts

Joined
Tue Jul 12, 2011 2:17 am

Post by speedimpex » Mon Aug 13, 2012 9:32 pm

Hi there, I'm sorry to hassle, but I was just wondering if anyone had any ideas on my last posting.
Many thanks
Gill

New member

Posts

Joined
Tue Jul 12, 2011 2:17 am

Post by speedimpex » Tue Aug 14, 2012 2:57 am

It's ok, I've sorted it now

New member

Posts

Joined
Tue Jul 12, 2011 2:17 am
Who is online

Users browsing this forum: No registered users and 7 guests