问题描述
我如何复制magento扩展并安装它们?我需要复制或重命名才能将其用于我的结帐付款问题.付款过滤器扩展程序可以将付款用于不同的产品.在我的网站上有很多卖家.因此,我需要复制bKash http://www.magentocommerce我的付款网关的.com/magento-connect/catalog/product/view/id/16591/扩展名.因为它仅取决于外部移动电话.付款.
how can i duplicate magento extensions and install them? I need to duplicate or rename in order to use them for my check out payment issue. the payment filter extensions enables to use payments for different products. In my websites there are alot of seller. So i need to duplicate the bKashhttp://www.magentocommerce.com/magento-connect/catalog/product/view/id/16591/ extension for my payment gateway. As it only depends only external mobile no. payment.
预先感谢
推荐答案
- 使用以下方法下载扩展程序: http://freegento.com/ddl-magento-extension. php
- 提取内容
- 将所有文件中的内容从文件中的"Bkash"替换为"Bkash2",即: 的内容
- download the extension using this: http://freegento.com/ddl-magento-extension.php
- extract the content
- replace the content in all files from "Bkash" to "Bkash2" in files ie: the content of
- 将文件中的所有bkash替换为bkash2
- 将所有包含Bkash的文件和目录重命名为Bkash2
- 将所有包含bkash的文件和目录重命名为bkash2
- 将所有文件(package.xml除外)复制/粘贴到您的magento安装目录中
查找.型f | xargs sed -i"s/Bkash/Bkash2/g"
find . -type f | xargs sed -i "s/Bkash/Bkash2/g"
查找.型f | xargs sed -i"s/bkash/bkash2/g"
find . -type f | xargs sed -i "s/bkash/bkash2/g"
mv ./app/design/frontend/base/default/template/Bkash ./app/design/frontend/base/default/template/Bkash2
mv ./app/design/frontend/base/default/template/Bkash ./app/design/frontend/base/default/template/Bkash2
mv ./app/code/local/Mediasoftbd/Bkash ./app/code/local/Mediasoftbd/Bkash2
mv ./app/code/local/Mediasoftbd/Bkash ./app/code/local/Mediasoftbd/Bkash2
mv ./app/etc/modules/Mediasoftbd_Bkash.xml ./app/etc/modules/Mediasoftbd_Bkash2.xml
mv ./app/etc/modules/Mediasoftbd_Bkash.xml ./app/etc/modules/Mediasoftbd_Bkash2.xml
mv ./media/bkash ./media/bkash2
mv ./media/bkash ./media/bkash2
mv ./app/design/frontend/base/default/template/Bkash2/bkash_instruction.phtml ./app/design/frontend/base/default/template/Bkash2/bkash2_instruction.phtml
mv ./app/design/frontend/base/default/template/Bkash2/bkash_instruction.phtml ./app/design/frontend/base/default/template/Bkash2/bkash2_instruction.phtml
mv ./media/bkash2/bkashlogo.jpg ./media/bkash2/bkash2logo.jpg
mv ./media/bkash2/bkashlogo.jpg ./media/bkash2/bkash2logo.jpg
mv ./media/bkash2/bkash-send-money.jpg ./media/bkash2/bkash2-send-money.jpg
mv ./media/bkash2/bkash-send-money.jpg ./media/bkash2/bkash2-send-money.jpg
类似的方法应该起作用,之后新模块应出现在system> configuration> advanced下,并且新配置应在system> configuration> sales>付款方式下可用
something like that should work, after that the new module should appear under system>configuration>advanced, and new configurations should be available under system>configuration>sales>payment methods
这篇关于重复的magento扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!