scandipwa/sales-graphql

Magneto 2 销售相关功能扩展

安装数量: 61,053

依赖关系: 0

建议者: 0

安全性: 0

星标: 1

关注者: 5

分支: 7

公开问题: 2

类型:magento2-module

1.3.2 2023-04-12 15:48 UTC

This package is auto-updated.

Last update: 2024-09-26 15:08:02 UTC


README

Magneto 2 销售相关功能扩展

内容包含什么?

此模块提供了对现有端点的GraphQl定制。

定制端点

  • 允许通过entity_id过滤订单
input CustomerOrdersFilterInput {
    entity_id: FilterStringTypeInput @doc(description: "Filters by order entity id.")
}
  • 返回布尔值以定义订单是否可以重新订购,并且是否存在rss_link
type CustomerOrder {
    can_reorder: Boolean! @doc(description: "Defines if order can be reordered")
    rss_link: String @doc(description: "Represents rss link to subscribe on order status")
}
  • 返回行小计价格
interface OrderItemInterface {
   row_subtotal: Money! @doc(description: "The row subtotal price, including selected options")
}
  • 扩展已选择和输入的订单产品选项,以返回可下载链接、组合选项和文件