Page 1 of 1
How to get extension from server?
Posted: Sat Mar 22, 2025 10:23 am
by megalca
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
Re: How to get extension from server?
Posted: Sat Mar 22, 2025 10:38 am
by Cue4cheap
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
Re: How to get extension from server?
Posted: Sat Mar 22, 2025 10:48 am
by megalca
Thanks for your reply.
Sorry..... here is more info.
Moving from Version 3.0.3.3 to 3.0.4.0
Re: How to get extension from server?
Posted: Sat Mar 22, 2025 11:18 am
by Cue4cheap
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
Re: How to get extension from server?
Posted: Sat Mar 22, 2025 11:54 am
by OSWorX
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!
Re: How to get extension from server?
Posted: Sat Mar 22, 2025 11:49 pm
by megalca
Thanks for your tips.
This is the extension:
Canada Post shipping
It completely dissapeared from the marketplace and even the developer's website.
Re: How to get extension from server?
Posted: Sun Mar 23, 2025 2:21 am
by OSWorX
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.
Re: How to get extension from server?
Posted: Sun Mar 23, 2025 7:19 am
by Cue4cheap
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
Re: How to get extension from server?
Posted: Sun Mar 23, 2025 3:12 pm
by megalca
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!
Re: How to get extension from server?
Posted: Mon Mar 24, 2025 12:37 am
by Cue4cheap
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
Re: How to get extension from server?
Posted: Mon Mar 24, 2025 1:36 am
by OSWorX
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 ..
Re: How to get extension from server?
Posted: Mon Mar 24, 2025 1:55 am
by megalca
Thanks a lot Mike and OSWorX!!
Re: How to get extension from server?
Posted: Mon Mar 24, 2025 6:03 pm
by ADD Creative
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.
Re: How to get extension from server?
Posted: Wed Mar 26, 2025 10:36 pm
by Cue4cheap
megalca wrote: ↑Mon Mar 24, 2025 1:55 am
Thanks a lot Mike and OSWorX!!
Is it all sorted?
Mike