Hi guys!
I am new about opencart, I could downloaded opencart and it works ,only problem is when ı try to instal an extension for example a language , the systems ask file type ocmod.zip and I dont know what is it .. I just have .zip files , how can ı make a .zip file to ocmod.zip ? Anyone else who can help me about that matter?
I am new about opencart, I could downloaded opencart and it works ,only problem is when ı try to instal an extension for example a language , the systems ask file type ocmod.zip and I dont know what is it .. I just have .zip files , how can ı make a .zip file to ocmod.zip ? Anyone else who can help me about that matter?
Simply rename mypackage.zip > mypackage.ocmod.zip
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Thumb answer!
Why?
If an Extension is offered as abc.ocmod.zip it mostly will contain also a install.xml which is needed by the internal installer.
If the files are only copied, that will lead to NOTHING.
So forget that stupid answer.
On the other hand, if an extension is offered as abc.zip only, it will contain in 99% of all cases several additonal .zip-files.
Usually named like:
abc-opencart-15x.zip
abc-opencart-2.x.ocmod.zip
abc-opencart-3.x.ocmod.zip
So extract first the .zip package locally and check if it contain files like described above.
If, go ahead and install the package with the integrated installer which fit with the used OpenCart version.
If not, see it a files called readme.txt does exist.
If, read it!
If not: ask the developer how he mean to install his lousy extension.
In general: if the extension is a .zip files only (without ocmod.zip) renaming it is useless.
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
1. usually languages files dont have xml inside
2. if TS have a problem with rename zip files, he also will be trouble with install ocmod) (ftp settings, etc...)
Nobody needs FTP-Settings anymore since OpenCart 3.0.x (that was the bad periode of OpenCart 2.x).
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Not the best practice, there is a reason for the uploader.
When you upload an extension containing files via the uploader, Opencart keeps track of the files uploaded in the database (oc_extension_path). Hence when you go to delete the extension via the interface Opencart removes those files.
On a manual upload and to add to what OSWorX stated - If you wanted to remove the extension, then you would need to go fishing around for the files you manually uploaded and remove them.
So in short... Just package an ocmod.zip and use the uploader.
Full Stack Web Developer :: Send a PM for Custom Work.
Backup and learn how to recover before you make any changes!
Only true when OpenCart 3.x is used.
Not with OpenCart 2.x
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Who is online
Users browsing this forum: No registered users and 13 guests