更新时间:2023-02-11 11:36:22
您可以使用multiCall而不是10个单独的XMLRPC调用. Magento Wiki 中对此进行了解释.
You can use multiCall rather than 10 seperate XMLRPC calls. This is explained in the Magento wiki.
您还可以使用catalog_product.items并指定多个ID的过滤器.但是,该选项只会为您提供基本的产品信息(没有价格,说明等信息).
You could also use catalog_product.items and specify a filter of multiple ID's. But that option will only give you basic product information (no things like prices, descriptions, etc).
即使multiCall太慢,您可能也需要编写一个通过您自己的API方法公开产品集合的模块.
If even multiCall is too slow, you will probably need to write a module that exposes a product collection through your own API method.