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 安装svn网络有问题怎么办
  • ¥15 Python爬取指定微博话题下的内容,保存为txt
  • ¥15 vue2登录调用后端接口如何实现
  • ¥65 永磁型步进电机PID算法
  • ¥15 sqlite 附加(attach database)加密数据库时,返回26是什么原因呢?
  • ¥88 找成都本地经验丰富懂小程序开发的技术大咖
  • ¥15 如何处理复杂数据表格的除法运算
  • ¥15 如何用stc8h1k08的片子做485数据透传的功能?(关键词-串口)
  • ¥15 有兄弟姐妹会用word插图功能制作类似citespace的图片吗?
  • ¥15 latex怎么处理论文引理引用参考文献