b&p wrote: ↑
Fri Feb 08, 2019 1:29 pm
Hi, I'm in the process of revising my extensions to work with Opencart v3.X and I am not very clear on the procedure for cloud marketplace publishing. I cannot find the spec anywhere. My extension archive structure normally looks like this:
Code: Select all
On extension publishing page there is a note that requirements for cloud marketplace are:
- Only support OpenCart version 3.0 or above.
- The folder name must be named "upload" / The file name must be "install.xml"
- The compression should be in Zip format.
What I did is create to downloads, one is the complete archive for OC v3.X, and the other just the ocmod.zip for OC v3.X + Cloud
But none of my modules are listed in the cloud marketplace yet, over a week now.
Am I doing this correctly?
Simply because (as you already wrote) the allowed structure for the cloud (and that should be also for the standard installation) has to be:
* name of file, e.g.: my-extension-OC-3.1.x.ocmod.zip
├ upload (folder) > include complete folder and file structure of your extension (see allowed structure below)
└ install.xml (file)
Nothing else (no readme, screenshots, and so on).
The extension structure itself must follow this allowed structure to be written into:
And the admin permission checks also these folders (only they are allowed):
If your extension has no folders and files, but should be able to install by the internal installer, only the install.xml and an empty folder upload inside the zip-file my-extension-OC-3.1.0.x.ocmod.zip has to be placed.
Now you may argue, that your extension structure cannot follow that structure.
It can - no further discusssion.
Now you may be clever (because you do not want to follow that structure) and recommend your users the installation of another obstruse extension which overrules that permissions (available on the market).
If your extension cannot follow that structure, you should not doing that job.
But finally, what suprise me is the fact, you want to develop an extension and cannot read the existing code and the marketplace advice?