Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Free shipping but not when COD is chosen?


Recommended Posts

  • 2 weeks later...

Hi all,


for anyone who experienced a conflict with the cod extra fee and the free shipping module try this workaround solution:



free shipping limit is reached and it has to be charged an additional cod fee => cod processing is deactivated, no fee is added



the module /catalog/includes/modules/order_total/ot_cod_fee.php obviously doesn't check the freeamount module by default.

So open the ot_cod_fee.php file, goto somewhere around line 70 and add the following line below some similar if-conditions:


if ($shipping['id'] == 'freeamount_freeamount') $cod_zones = split("[:,]", MODULE_ORDER_TOTAL_COD_FEE_FLAT);


Should be working fine :D






Sunny Side Online Engineering

Link to comment
Share on other sites

  • 2 weeks later...

thank you guy, great work! it helped me so much!


I have another question: is it possible that the 'enable display' function does not work?!?

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...