Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

COD for gifts? Can i disable it?


Recommended Posts

I'm setting up a shop, with various shipping and payment methods depending on zone.


I've discovered it is possible for someone outside the 'home country' payment and shipping zone to order products for someone within the 'home country zone', and they are then allowed to choose C.O.D


This seems a little dangerous, you could get pranks ordering from overseas and selecting COD, only for some unsuspecting person to get a delivery which they are then expected to pay for.


Is there a way to change the COD module, to check the location of the billing adresse, and not the delivery adresse?


Before I start trying to alter the PHP of this module, I thought it better to ask, as I'm sure others will have come across this little problem. I used the search but COD is too short to return results.


Many Thanks!



Link to comment
Share on other sites

  • 2 weeks later...

How about if the COD module were to check that the delivery addresse is either empty or the same as the billing addresse - if not it would throw up a Javascript alert about COD only being allowed for the billing adresse and load the page to enter delivery/billing addresse again.


That would be a simple and logical fix....can anyone suggest some code?



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...