duafagm1066 2011-05-17 17:08
浏览 23
已采纳

从哪里开始为magento创建自定义XML导出/馈送模块? [关闭]

I know this is a BIG question, but i am looking to integrate magento with mobi-cart and I wondered where the best place to start with something like this would be?

I need to export certain fields into and xml feed that updates mobi-cart. Their API is here: http://www.mobi-cart.com/docs/api/index.html

I would like some pointers - is it just PHP and XML or will i need other tech? Would i have to make a module for magento that can export XML?

Any help would be appreciated.

  • 写回答

1条回答 默认 最新

  • dpf56454 2011-05-17 17:17
    关注

    @@willywonka --Nice post- i used this link

    http://www.YOURSHOP.com/api/?wsdl

    If you get an XML response then soap is installed on the server and magento is ready to conenct.. if you get somthing like "..unable to laod soap..." you will have to install soem things.


    to export you will need to use profiles. It runs a profile and creates a file on the server. i am not sure if you can a feed. but it migh tbe possible using the download option.

    [Open Image in new tab for good resolution] Open Image in new tab for good resolution

    Then when you press "Run Profile" a windows will popup and you can use the Link to creat the feed Like mine is ..

    http://www.MYSHOP.co.uk/index.php/admin/system_convert_gui/run/id/7/

    Afterwards i download the file using a .net program and process the data. once i am done i upload to ftp for example and run another profile to import the stuff.

    In you case your program will use the file to get data in send it into the API somehow.


    That was the easy way- but not very great.

    The magento API is explained here

    http://www.magentocommerce.com/support/magento_core_api

    and looks like a nightmare to get to work and it seems like you can only do it if you have ssh access to the server to install things to it. But that would be the ideal way for these to API's to communicate.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 luckysheet
  • ¥15 ZABBIX6.0L连接数据库报错,如何解决?(操作系统-centos)
  • ¥15 找一位技术过硬的游戏pj程序员
  • ¥15 matlab生成电测深三层曲线模型代码
  • ¥50 随机森林与房贷信用风险模型
  • ¥50 buildozer打包kivy app失败
  • ¥30 在vs2022里运行python代码
  • ¥15 不同尺寸货物如何寻找合适的包装箱型谱
  • ¥15 求解 yolo算法问题
  • ¥15 虚拟机打包apk出现错误