This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
children.url_key - The url key assigned to the category.
// get `url_key` of category children
const categoryList = sdk.commerce.categoryList();
for (let categoryChildren of categoryList.children) {
const url_key = categoryChildren.url_key;
}
children.url_key - The url key assigned to the category.
// get `url_key` of category children
const categoryList = sdk.commerce.categoryList();
for (let categoryChildren of categoryList.children) {
const url_key = categoryChildren.url_key;
}
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@vue-storefront/magento-api@2.5.0
Minor Changes
e3a461c9: [CHANGED] Enhanced default GQL queries
CategorySearchQuery
new fields:url_key
- The url key assigned to the category.children
- Child categories tree.include_in_menu
is_anchor
level
name
position
product_count
uid
url_key
url_path
url_suffix
CategoryListQuery
new fields:children.url_key
- The url key assigned to the category.ProductListsQuery
new fields:variants
- An array of variants ofConfigurableProduct
Patch Changes
@vue-storefront/magento-types@1.1.0
Minor Changes
e3a461c9: [CHANGED] Enhanced default GQL queries
CategorySearchQuery
new fields:url_key
- The url key assigned to the category.children
- Child categories tree.include_in_menu
is_anchor
level
name
position
product_count
uid
url_key
url_path
url_suffix
CategoryListQuery
new fields:children.url_key
- The url key assigned to the category.ProductListsQuery
new fields:variants
- An array of variants ofConfigurableProduct