Forums / Addon Payment Modules / Cloning COD Module

Cloning COD Module

Locked

Started by stevecollins on 15 May 2008, 9:19 PM · Views: 2,308

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
15 May 2008, 9:19 PM
#1
stevecollins avatar

stevecollins

New Zenner

Join Date:
Aug 2005
Location:
Southampton
Posts:
80
Plugin Contributions:
0

Cloning COD Module

Does anyone know how you clone the COD module? Been trying with no success.

15 May 2008, 11:56 PM
#2
stevecollins avatar

stevecollins

New Zenner

Join Date:
Aug 2005
Location:
Southampton
Posts:
80
Plugin Contributions:
0

Re: Cloning COD Module

I found the answer. Just change the name of the files i.e cod.php - clonecod.php in modules/payment and also languages/english/modules/payment.

Then all instances within the files where you see 'cod' you change to the same name as the files that have been renamed. This is exactly the same as cloning shipping modules such as flat rate.

16 May 2008, 6:00 AM
#3
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Cloning COD Module

I asked this question a couple of years ago, and Ajeh advised that it was not a good idea to clone COD payment module...

26 May 2008, 7:29 PM
#4
stevecollins avatar

stevecollins

New Zenner

Join Date:
Aug 2005
Location:
Southampton
Posts:
80
Plugin Contributions:
0

Re: Cloning COD Module

Was there a reason for this that you can remember?

I have cloned the COD modules so as to offer them to people who are living within my home delivery catchment area and I needed to separate areas for differing delivery charges. Most local customers pay on delivery hence the clones.

26 May 2008, 9:37 PM
#5
ajeh avatar

ajeh

Oba-san

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

Re: Cloning COD Module

Cloning COD can be done but you have to be careful as there are nuances to COD such as no virtual products, no gift certificates etc. which may or may not have an affect on things beyond what you are expecting to have happen with your cloned module ...

It can be used for cloning but be sure you test all aspects of your purchases to ensure that this is working the way that you intended with all shipping and payment methods as part of your testing ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!