mageworx/module-htmlsitemap-graph-ql
最新稳定版本:1.0.0
Composer 安装命令:
composer require mageworx/module-htmlsitemap-graph-ql
包简介
N/A
README 文档
README
GraphQL API module for Mageworx Magento 2 SEO Suite Ultimate extension.
Installation
1) Copy-to-paste method
- Download this module and upload it to the
app/code/MageWorx/HtmlSitemapGraphQldirectory (create "HtmlSitemapGraphQl" first if missing)
2) Installation using composer (from packagist)
- Execute the following command:
composer require mageworx/module-htmlsitemap-graph-ql
How to use
HtmlSitemapGraphQl module allows displaying the HTML sitemap:
Syntax:
products( search: String filter: ProductAttributeFilterInput pageSize: Int currentPage: Int sort: ProductAttributeSortInput ): Products The query includes the following attributes:
- meta_description
- meta_keywords
- categories
- cms_pages
- additional_links
- custom_links
Request:
{mwHtmlSitemap (storeId: 1) { categories { items { title url level } } } } Response:
{ "data": { "mwHtmlSitemap": { "categories": { "items": [ { "title": "What's New", "url": "https://store_url/default/what-is-new.html", "level": 2 }, { "title": "test", "url": "https://store_url/default/test.html", "level": 2 } ] } } } } 统计信息
- 总下载量: 38.75k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2026-01-04