Magento API 限制
我目前正在为使用 .Net 的客户端开发一个上传工具,通过 XML-RPC 调用进行上传。我目前正在撞两堵砖墙。
一是创建可配置的产品。我是否错过了一些文档,这可能吗?
另一个问题是将数据添加到诸如大小之类的下拉属性中。这可以通过 API 实现吗?
I'm currently working on an upload tool for a client using .Net to upload via the XML-RPC calls. I am currently hitting two brick walls.
One is creating configurable products. Have I missed some documentation, is this possible?
The other problem is adding data into drop down attributes for things like size. Is this possible via the API?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您可以扩展 Magento API,这里有一篇博客文章作为起点。警告一下,我怀疑您会发现可配置产品是一个相当大的挑战。如果你能做到这一点,我怀疑你会发现想要购买代码的用户很感兴趣......对你来说有一些激励:)
You can extend the Magento API, here is a blog post as a starting point. As a word of warning, I suspect you will find configurable products to be quite a challenge. If you can manage it, I suspect you will find quite a bit of interest from users wanting to purchase the code... some incentive for you :)
正如许多人过去所认为的那样,用于添加产品的默认 API 不允许您关联可配置的产品。
As many people have opined in the past, the default API for adding products will not let you relate configurable products.
不,使用默认 api 是不可能的。
虽然你可以编写自己的 api。
如果你想实现一些 magento 的东西,通常最好看看管理控制器并将它们复制到 APi 中。
No, not possible with the default api.
Altough you can write your own apis.
If you want to realise some magento stuff it is usually good to have a look at the admin controllers and replicate them into the APi.