dotdigital/dotdigital-magento2-extension-graph-ql
Composer 安装命令:
composer require dotdigital/dotdigital-magento2-extension-graph-ql
包简介
Dotdigital for Magento 2: Core GraphQl module
README 文档
README
About this module
Dotdigitalgroup_EmailGraphQl supports our core module. It provides type and resolver information for Magento to generate endpoints for:
- fetching tracking configuration data from the instance
- fetching email capture configuration from the instance
- retrieving order data for customers and guests on the order confirmation page
- updating the quote email address
Requirements
- This module requires the
Dotdigitalgroup_Emailmodule v4.14.0+
Installation
- This module is included in our core extension. Please refer to these instructions to install via the Magento Marketplace.
Endpoints
Queries
query getTrackingData {
trackingData {
page_tracking_enabled
roi_tracking_enabled
wbt_profile_id
region_prefix
}
}
query isEasyEmailCaptureNewsletterEnabled {
emailCaptureNewsletter {
is_enabled
}
}
query isEasyEmailCaptureCheckoutEnabled {
emailCaptureCheckout {
is_enabled
}
}
query getProductBrandValue($product_ids: [String]!) {
productBrands(product_ids: $product_ids) {
items {
brand
product_id
}
}
}
Mutations
mutation updateQuoteEmail($email: String!, $cartId: String!) {
updateQuoteEmail(
email: $email,
cartId: $cartId
)
}
Usage
For examples on how to integrate these endpoints into your front end, please see our Dotdigital PWA Toolkit.
Changelog
2.0.2
Improvements
- We updated our code for compatibility with PHP 8.4.
2.0.1
Improvements
- We've updated the module's dependencies. The module now requires PHP 7.4+ and Magento 2.3.7+.
2.0.0
Bug fixes
- We've removed the OrderData resolver to prevent any exploits of this endpoint.
1.2.2
Improvements
- We've updated a resolver to use a factory class.
1.2.1
Bug fixes
- We restored compatibility with PHP 7.2.
1.2.0
What's new
- We've added a new endpoint to retrieve the nominated brand attribute.
Bug fixes
- We updated the module's PSR-4 filepath.
1.1.0
What's new
- This module has been renamed
dotdigital/dotdigital-magento2-extension-graph-ql.
Improvements
setup_versionhas been removed from module.xml.
1.0.0
- Initial release
dotdigital/dotdigital-magento2-extension-graph-ql 适用场景与选型建议
dotdigital/dotdigital-magento2-extension-graph-ql 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 96.18k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2022 年 01 月 11 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 dotdigital/dotdigital-magento2-extension-graph-ql 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 dotdigital/dotdigital-magento2-extension-graph-ql 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 96.18k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 29
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-01-11