Unable to get products by attributes
还没有人认领这个 Issue。
评估
调研方向
首先,通过 wcapi.get('products') 入口点复现已报告的请求,并分别将 attribute 和 attribute_term 作为 ids、names 和 slugs 提供。确认预期的筛选产品结果,并为可正常工作的筛选形式添加覆盖测试,然后再认为该 issue 已完成。
由索引模型根据 Issue 内容生成。
描述
It seems that the attribute and attribute term filters are not working properly when fetching products. I tried different version (using id, name or slug for both) but neither works. Even attribute alone does not work.
wcapi.get('products", params={"attribute": "attribute-slug", "attribute_term" : 9})
- 主要语言
- Python
- 星标
- 216
- 派生
- 108
- 平均合并
- 6 小时 34 分钟
- 30 天内合并 PR
- 1
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
woocommerce/wc-api-python 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 25/100
woocommerce/wc-api-python#108 ·
-
难度 4/5 3-5 天 新手友好度 32/100
woocommerce/wc-api-python#106 ·
-
难度 4/5 3-5 天 新手友好度 25/100
woocommerce/wc-api-python#105 ·
-
难度 5/5 一周以上 新手友好度 15/100
woocommerce/wc-api-python#104 ·
-
Json Formatting 未关闭
难度 2/5 1-3 小时 新手友好度 35/100
woocommerce/wc-api-python#103 ·
查看 woocommerce/wc-api-python 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 86/100
browser-use/browser-use#5905 ·
-
type: enhancement
难度 2/5 1-3 小时 新手友好度 68/100
ynput/ayon-python-api#363 ·
-
bug needs triage
难度 2/5 1-3 小时 新手友好度 88/100
modelscope/FunASR#3728 ·
-
难度 2/5 1-3 小时 新手友好度 88/100
open-compass/opencompass#2655 ·