Zen Cart Logo
Forums / General Questions / Looking for help Merging Files for Plugins

Looking for help Merging Files for Plugins

Views: 1,332

Results 1 to 4 of 4
24 Aug 2012, 7:40 PM
#1
cntgifts avatar

cntgifts

Totally Zenned

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

Looking for help Merging Files for Plugins

I am trying to install fast and easy checkout but i also have ty package tracker but both use the admin/orders.php file I have tried merging them myself but i keep messing it up. Could someone do this???

26 Aug 2012, 9:22 AM
#2
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Looking for help Merging Files for Plugins

If you are unable to do this yourself you'll probably be needing to look for some kind of commercial help. I seriously doubt that anyone is going to d/load the modules, merge the code and supply it to you out of the goodness of their heart.

Before giving up on your own attempts though, exactly how are you going about doing the merge yourself? Are you using a text editor and trying to copy/paste the code, or are you using the proper tool for the job (eg: Kdiff3, Winmerge, etc, etc).

If you've not tried using these tools before, then now is a good time to learn.

Another tip that you may find useful is to first identify which of these two modules make the most changes to the core code and use that modules modified code for you 'base', and then merge the other modules code into this 'base' code.

By doing it this way you are effectively only needing to merge one file into the other, and the original zencart code can be ignored.

This of course assumes that the module(s) contain premodified code (as most do).

The hard way of doing things is to merge the code from both modules into the original zencart code.

Hopefully you find this useful.

Cheers
Rod

26 Aug 2012, 10:13 PM
#3
cntgifts avatar

cntgifts

Totally Zenned

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

Re: Looking for help Merging Files for Plugins

well i figured someone may have already merged these files for their own use

I use beyond compare

There are several instances where on the same line is edited for the 2 different plug ins

27 Aug 2012, 5:39 AM
#4
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Looking for help Merging Files for Plugins

CnTGifts:

There are several instances where on the same line is edited for the 2 different plug ins

"Several" doesn't sound like much. Perhaps if you copy/paste the relevent lines of code into a message then someone may be able to show you what the final merged line(s) should look like.

Cheers
Rod