Shopify Storefront Graphql 电商工具
Shopify 店铺前台 GraphQL
功能与用途
为自定义店铺前台用 Storefront GraphQL 做数据查询与购物车操作,适合需要完全控制数据获取与自建 UI 的场景(非 Web Components)。需 Node 与 search_docs/validate 脚本。
适用场景
- 无头电商商品目录与多变体查询:构建轻量 GraphQL 查询获取指定商品的变体、库存状态、价格与媒体图库数据。
- 自建端到端购物车与结账流:编写并校验创建购物车、更新行项数量、应用优惠券及生成结账链接的 Mutation 操作。
- 前台预测性商品检索集成:调用 predictiveSearch 接口为自定义搜索框获取实时商品推荐与分类联想结果。
适用人群
- Shopify 前端开发者
- 技术团队
使用步骤
- search_docs 搜文档
- 写 Storefront GraphQL
- validate.mjs 校验
开始使用
将需求和 Skill 名称发送给已连接 SkillPX MCP 的 AI 助手,核对适用工具和安装要求。
技术信息
- 分类
- 电商
- 适用工具
- Codex、Claude Code、OpenClaw、Hermes、国内 Agent
- 使用难度
- 进阶
- 版本
- main
- 最近更新
- 2026-09-18
- 文件数
- 3
- 安装包大小
- 自动生成 ZIP
- 安全检查
- 基础检查通过
Use for custom storefronts requiring direct GraphQL queries/mutations for data fetching and cart operations. Choose this when you need full control over data fetching and rendering your own UI. NOT for Web Components - if the prompt mentions HTML tags like <shopify-store>, <shopify-cart>, use storefront-web-components instead.
使用前准备
- Node.js
- 店铺前台项目
依赖与权限
- 读取用户主动提供的内容