【发布时间】:2017-01-26 22:30:44
【问题描述】:
我是 Magento 2 的新手,我正在构建一个模块。
我希望 Magento 生成所有已订购商品的列表,并按 order_status 过滤。
例子:
SELECT [product] FROM sale_order_product WHERE order_status = 'pending'
如何使用模型/资源模型/集合/存储库完成此操作?
【问题讨论】:
标签: magento magento2 product items