How to the installer after package data has been c

2019-08-12 07:31发布

问题:

I followed this tutorial and was able to create the package data successfully as shown in the screenshot.

Now I have below three file in the var/connect folder. Myname_Mygateway-1.0.0.tgz, Myname_Mygateway.xml, package.xml as shown below.

I tried to zip all the files and make a installer but It does not work when I tried to install in another magento site.

How to the installer after package data has been created ?

回答1:

You don't need to zip anything. The file with extension .tgz is only responsible to install the extension.

Just go to Admin > System > Magento Connect > Connect Manager > Direct Package file upload and upload your .tgz file and it will get installed.

If you want to create an extension key, you will need to go to MagentoCommerce website and under Your Account, you will have tab Developers > Add new extension. There you can submit your extension and it will need to be verified by the Magento team. It usually takes 3-5 days I guess. Once it's Live, you can then see your extension listed in official Magento Connect website.