我的目标是获取目录中列出的所有属性 - >属性 - >使用SOAP API调用管理属性管理面板部分。
当我打电话时
stub.catalogCategoryAttributeList(sessionId)
注意:Java,Apache Axis用于进行此调用。在php中,它与此调用相关 - http://www.magentocommerce.com/wiki/doc/webservices-api/api/catalog_category_attribute#catalog_category_attribute.list
由于某种原因,我获得了一组有限的属性。这是它:
increment_id
parent_id
updated_at
created_at
name
description
image
meta_title
meta_keywords
meta_description
is_active
all_children
path_in_store
children
url_key
url_path
path
position
level
display_mode
landing_page
is_anchor
available_sort_by
default_sort_by
custom_design
custom_design_apply
custom_design_from
custom_design_to
page_layout
custom_layout_update
我在这里缺少一些主要属性,例如这里有一些与T恤属性相关的内容:
color
gender
size
答案 0 :(得分:2)
我知道这个问题已经很老了,但仍然试图尽可能多地发布一个已知答案,以使其更具知识性。
你得到的是完全没问题的,因为SOAP API“catalogCategoryAttributeList
”将仅输出类别属性&amp;不是产品属性。</ p>
要获取所有目录产品属性,您需要调用“catalogProductAttributeList
”SOAP API,提及here。
希望它有所帮助。