Zen Cart Logo
Forums / Addon Shipping Modules / Question about COD Fee and DHL Shipping module

Question about COD Fee and DHL Shipping module

Locked

Views: 10,755

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
28 Aug 2006, 1:28 AM
#1
rkeppert avatar

rkeppert

New Zenner

Join Date:
Aug 2006
Posts:
60
Plugin Contributions:
0

Question about COD Fee and DHL Shipping module

I installed the DHL shipping module, and i don't see an option to enable COD shipping for the DHL module... any help would be appreciated. tks

28 Aug 2006, 2:12 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Question about COD Fee and DHL Shipping module

The Orders Total COD Fee does not have every shipping module as part of it ...

If you edit the file:
/includes/modules/order_total/ot_cod_fee.php

You can follow the pattern to:
MODULE_ORDER_TOTAL_COD_FEE_USPS

And add-on any shipping method not covered ...

28 Aug 2006, 2:13 AM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Question about COD Fee and DHL Shipping module

NOTE: be sure to do a Remove/Install to see any changes that you make ...

28 Aug 2006, 5:17 AM
#4
rkeppert avatar

rkeppert

New Zenner

Join Date:
Aug 2006
Posts:
60
Plugin Contributions:
0

Re: Question about COD Fee and DHL Shipping module

thank you very much for the help. it took a little tweaking to get it to work just right, but it's up and running now.

I kept getting an error that said 1062 duplicate entry, so i had to go into the zen_configuration table of the db and find the entry and delete it, then it worked just fine.

31 Aug 2006, 2:13 PM
#5
ellivir avatar

ellivir

Zen Follower

Join Date:
Sep 2005
Posts:
444
Plugin Contributions:
0

Re: Question about COD Fee and DHL Shipping module

What about the normal Cash on Demand module? It may have extra costs for the shipper as well.

Elli

31 Aug 2006, 3:06 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Question about COD Fee and DHL Shipping module

COD is a Payment module ...

The COD FEE is an Order Totals Module that bases the Extra Fee on the Shipping Module that is selected ...

If the Shipping Module is defined in the:
/includes/modules/order_total/ot_cod_fee.php

Then a Fee can be added ...

If your Shipping Module is not in the Order Totals Module COD Fee ... you would need to add it or customize the module as described above ...

Then, uninstall and reinstall the COD Fee Order Total Module to see the changes that you have added ...

WARNING: if you already have the COD Fee Order Totals Module installed and customized, you need to edit it first, and record your custom settings as they will be reset to the defaults when you uninstall and reinstall it ...

1 Sep 2006, 9:55 AM
#7
ellivir avatar

ellivir

Zen Follower

Join Date:
Sep 2005
Posts:
444
Plugin Contributions:
0

Re: Question about COD Fee and DHL Shipping module

Ajeh:

COD is a Payment module ...

The COD FEE is an Order Totals Module that bases the Extra Fee on the Shipping Module that is selected ...

If the Shipping Module is defined in the:
/includes/modules/order_total/ot_cod_fee.php

Then a Fee can be added ...

If your Shipping Module is not in the Order Totals Module COD Fee ... you would need to add it or customize the module as described above ...

Then, uninstall and reinstall the COD Fee Order Total Module to see the changes that you have added ...

WARNING: if you already have the COD Fee Order Totals Module installed and customized, you need to edit it first, and record your custom settings as they will be reset to the defaults when you uninstall and reinstall it ...

The Situation is this:

a) a customer can order a shipping by post but pay immediately the product with a credit card or with a bank payment module (money instantly from the account transferred).
b) a customer can order a shipping by post but pay inly when receiving the package in the post office. Post office takes extra fee from the shop keeper from that service.

So, in both cases the customer uses shipping BY POST but in the case b) he needs to be charged of COD fee as well. So, he would need to know by the law what is the total price when confirming his order. Thus, I would need to add it somehow for the price ONLY in the case he pays via COD using Post Office, not when paying otherway and using post as well.

2 Sep 2006, 12:36 AM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Question about COD Fee and DHL Shipping module

ellivir:

The Situation is this:

a) a customer can order a shipping by post but pay immediately the product with a credit card or with a bank payment module (money instantly from the account transferred).
b) a customer can order a shipping by post but pay inly when receiving the package in the post office. Post office takes extra fee from the shop keeper from that service.

So, in both cases the customer uses shipping BY POST but in the case b) he needs to be charged of COD fee as well. So, he would need to know by the law what is the total price when confirming his order. Thus, I would need to add it somehow for the price ONLY in the case he pays via COD using Post Office, not when paying otherway and using post as well.

That's exactly how it works, yes.

If your shipping module isn't one that comes with Zen Cart, then you'll have to write custom code into the existing ot_cod_fee.php module in order for it to connect COD fees with to your selected shipping method, as Ajeh mentioned in her post.