Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Filter out GraphQL product attributes #2885

Merged
merged 2 commits into from
Sep 5, 2018

Conversation

keharper
Copy link
Contributor

@keharper keharper commented Sep 5, 2018

This PR is a:

  • New topic
  • Content update
  • Content fix or rewrite
  • Bug fix or improvement

Summary

When this pull request is merged, it will add a note about the circumstances when GraphQL will prevent filtering on product attributes.

This PR is in response to graphql-ce PR-103.

whatsnew
Added a note about filtered product attributes in Products endpoint

@keharper keharper added 2.3.x Magento 2.3 related changes Technical Updates to the code or processes that alter the technical content of the doc Community Docs impacted by community code contribution labels Sep 5, 2018
@keharper keharper self-assigned this Sep 5, 2018
@keharper keharper requested a review from bdenham September 5, 2018 20:47
* Use in Search Results Layered Navigation
* Visible on Catalog Pages on Storefront
* Used in Product Listing
* Used for Sorting in Product Listing
</div>
Copy link
Contributor

@bdenham bdenham Sep 5, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use the liquid syntax instead of the HTML:

{%
include note.html
type='info'
content='GraphQL automatically filters out a product attribute if ALL of the following fields are set to No on the attribute's Storefront Properties page in Admin:

  • Comparable on Storefront
  • Use in Layered Navigation
  • Use in Search Results Layered Navigation
  • Visible on Catalog Pages on Storefront
  • Used in Product Listing
  • Used for Sorting in Product Listing'

%}

Otherwise, looks good.

@keharper keharper merged commit b8e17a7 into master Sep 5, 2018
@keharper keharper deleted the kh_graphql-103-hidden-attributes branch September 5, 2018 21:42
magento-devops-reposync-svc pushed a commit that referenced this pull request Apr 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
2.3.x Magento 2.3 related changes Community Docs impacted by community code contribution Technical Updates to the code or processes that alter the technical content of the doc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants