[Solved] duplicate magento extensions [closed]


find . -type f | xargs sed -i "s/Bkash/Bkash2/g"
  • replace all bkash to bkash2 in files
find . -type f | xargs sed -i "s/bkash/bkash2/g"
  • rename all files and directories that contains Bkash to 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/etc/modules/Mediasoftbd_Bkash.xml ./app/etc/modules/Mediasoftbd_Bkash2.xml
  • rename all files and directories that contains bkash to 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 ./media/bkash2/bkashlogo.jpg ./media/bkash2/bkash2logo.jpg

mv ./media/bkash2/bkash-send-money.jpg ./media/bkash2/bkash2-send-money.jpg
  • copy/paste all the files (except package.xml) to your magento instalation directory

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

https://docs.google.com/file/d/0BxJYGRqDwGT0cDBCX09QSU8xOFU/edit

2

solved duplicate magento extensions [closed]