Page 1 of 1
Cash on Delivery 1.4.9.5
Posted: Thu Nov 24, 2011 2:35 pm
by speedimpex
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
Re: Cash on Delivery 1.4.9.5
Posted: Thu Nov 24, 2011 9:15 pm
by speedimpex
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
Re: Cash on Delivery 1.4.9.5
Posted: Thu Nov 24, 2011 9:25 pm
by fido-x
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.
Re: Cash on Delivery 1.4.9.5
Posted: Thu Nov 24, 2011 9:44 pm
by speedimpex
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
Re: Cash on Delivery 1.4.9.5
Posted: Thu Nov 24, 2011 9:49 pm
by fido-x
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.
Re: Cash on Delivery 1.4.9.5 RESOLVED
Posted: Sat Nov 26, 2011 10:27 pm
by speedimpex
Thanks for the help Fido. Got it sorted
Gill
Re: Cash on Delivery 1.4.9.5
Posted: Sat Aug 11, 2012 8:06 pm
by speedimpex
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
Re: Cash on Delivery 1.4.9.5
Posted: Mon Aug 13, 2012 9:32 pm
by speedimpex
Hi there, I'm sorry to hassle, but I was just wondering if anyone had any ideas on my last posting.
Many thanks
Gill
Re: Cash on Delivery 1.4.9.5
Posted: Tue Aug 14, 2012 2:57 am
by speedimpex
It's ok, I've sorted it now