Post by megalca » Sat Mar 22, 2025 10:23 am

Hi all!
Is there a way to download an installed extension from the server?

I have an "old" open cart website and in the process of updating to a "new" open cart website. (same domain)
The "old" one is using a paid shipping extension which I bought but was abandoned by developer and I need that same shipping extension in the "new" website.
I am not able to get the .zip extension since the developer is not around.
How can I download that extension form the "old" website and install it in the "new" website.
thanks

New member

Posts

Joined
Sun Apr 07, 2019 5:49 am

Post by Cue4cheap » Sat Mar 22, 2025 10:38 am

megalca wrote:
Sat Mar 22, 2025 10:23 am
Hi all!
Is there a way to download an installed extension from the server?

I have an "old" open cart website and in the process of updating to a "new" open cart website. (same domain)
The "old" one is using a paid shipping extension which I bought but was abandoned by developer and I need that same shipping extension in the "new" website.
I am not able to get the .zip extension since the developer is not around.
How can I download that extension form the "old" website and install it in the "new" website.
thanks
Same opencart version? If not, sort of a moot point.
Otherwise you'd need to get the controller, model, and view file AND whatever modification is used... i.e. VQ or OC mod, or event.
You don't provide much info so that is about the best I can tell you.
Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by megalca » Sat Mar 22, 2025 10:48 am

Thanks for your reply.
Sorry..... here is more info.
Moving from Version 3.0.3.3 to 3.0.4.0

New member

Posts

Joined
Sun Apr 07, 2019 5:49 am

Post by Cue4cheap » Sat Mar 22, 2025 11:18 am

megalca wrote:
Sat Mar 22, 2025 10:48 am
Thanks for your reply.
Sorry..... here is more info.
Moving from Version 3.0.3.3 to 3.0.4.0
Probably would work.
But you need to find the admin and catalog files mentioned above and look at the events to see if there are any for the extension, plus look for xml if VQMod and extension -> modification to see if there is a modification there for it.
Hard to guess without a name for the extension and even then since it was a paid extension probably is going to be a guess anyway.
Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by OSWorX » Sat Mar 22, 2025 11:54 am

Not to forget any files which may located in the system folder!
But unless you provide more infos about that mysterious extension, everything is guessing only!

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Administrator

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by megalca » Sat Mar 22, 2025 11:49 pm

Thanks for your tips.

This is the extension:
Canada Post shipping

It completely dissapeared from the marketplace and even the developer's website.

New member

Posts

Joined
Sun Apr 07, 2019 5:49 am

Post by OSWorX » Sun Mar 23, 2025 2:21 am

Well, finally it does no matter which extension.
To get all files, either you do what's already suggested by yourself or hire a professional.

It's really not to hard to get all files this extension will need if the "old" store is untouched and no files are deleted.

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Administrator

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by Cue4cheap » Sun Mar 23, 2025 7:19 am

megalca wrote:
Sat Mar 22, 2025 11:49 pm
Thanks for your tips.

This is the extension:
Canada Post shipping

It completely dissapeared from the marketplace and even the developer's website.
By who?
Also did you try to download the files I told you about? If so, report back what you found.
Any OC or VQmods?
Next you should look through the code to see what it calls. If there are calls for files in the system folder, as OSWorks mentioned, then grab that/those files too.

Don't be afraid to dig through the code.
Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by megalca » Sun Mar 23, 2025 3:12 pm

Hi Mike
Thanks for your help and tips.
I was able to get the php files related to the canada post module on ADMIN, CATALOG and SYSTEM folders.
Now I believe the only part missing to "assemble" the ocmod.zip file is the install.xml file.
Any suggestions onhow to get it?
thanks!

New member

Posts

Joined
Sun Apr 07, 2019 5:49 am

Post by Cue4cheap » Mon Mar 24, 2025 12:37 am

megalca wrote:
Sun Mar 23, 2025 3:12 pm
Hi Mike
Thanks for your help and tips.
I was able to get the php files related to the canada post module on ADMIN, CATALOG and SYSTEM folders.
Now I believe the only part missing to "assemble" the ocmod.zip file is the install.xml file.
Any suggestions onhow to get it?
thanks!
The OCMods are stored in the modification table in the database.
You could copy the xml file info from the database... If you wish to try and use my bash script but please look at my disclaimer: viewtopic.php?t=235347
Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by OSWorX » Mon Mar 24, 2025 1:36 am

This extension could have 2 options:
1. VQmod
2. OCmod

If #1 is used, you can grab the files very easy from the vqmod folder.
If #2, then you have to get the code from the database table modification and save it as install.xml

And - not to forget !! - it could also that there are some files needed from the system/storage/vendor folder.

This means (summarized), you need files from following folders:
1. catalog
2. admin
3. system (could be different ..)
4. system/storage/vendor/ (optional)

and at least:
5. install.xml (either OC- or VQmod).

To test if you have everything, make a package where you will have:

A. folder upload
B. file install.xml

Pack it and name it something like canadian_post.zip

And now use a new, fresh installation of 3.0.4.0 and install it.
Then you will see if it works or if you need addionally something ..

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Administrator

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by megalca » Mon Mar 24, 2025 1:55 am

Thanks a lot Mike and OSWorX!!

New member

Posts

Joined
Sun Apr 07, 2019 5:49 am

Post by ADD Creative » Mon Mar 24, 2025 6:03 pm

If an extension was installed via the built in install option, you can look in the database tables oc_extension_install and oc_extension_path to see what files were installed.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by Cue4cheap » Wed Mar 26, 2025 10:36 pm

megalca wrote:
Mon Mar 24, 2025 1:55 am
Thanks a lot Mike and OSWorX!!
Is it all sorted?

Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am
Who is online

Users browsing this forum: No registered users and 0 guests