In Australia the basic COD Fee is a flat $9.00
I have the australia Post module installed, to get zen cart to add a flat fee of $9.00 on the totals page using auspost or auspostexpress you set the COD Fee for FLAT in Admin / Modules/ Order Totals
to AU:9.00
then edit file includes/modules/order_total/ot_cod_fee.php
by adding the 2 following lines( I am using only auspost and auspostexpress I presume it will work with other aus post modules, you'll just have to edit the lines for them )
after line 53 ( you will see the code looks similar to the lines immediately above)
if (substr_count($_SESSION['shipping']['id'], 'auspost') !=0) $cod_zones = split("[:,]", MODULE_ORDER_TOTAL_COD_FEE_FLAT);
if (substr_count($_SESSION['shipping']['id'], 'auspostexpress') !=0) $cod_zones = split("[:,]", MODULE_ORDER_TOTAL_COD_FEE_FLAT);
hope this helps someone else, took me long enough to figure it out
Bookmarks