Skip to content

Children Products are not coming when the Visibility = Catalog in graphql if the Configurable product Visibility = Catalog #40451

@zexperto

Description

@zexperto

Preconditions and environment

  • Magento 2.4.8-p3

Steps to reproduce

  1. Create configurable product: Visibility = Catalog
  2. Create 2 children (choose any attribute, e.g. Color: Red/Blue). The number of children does not matter
  3. The visibility of the children should be the same as the configurable product: Visibility = Catalog
  4. Execute the following GraphQL query for a child product using search and filter
    query Products { products(search: "{child_sku}", filter: { url_key: { eq: "{child_url_key}" } }) { total_count items { sku } } }
  5. Using this query, you will not see any results
  6. Change the visibility of the configurable product only to "Search" or "Catalog, Search"
  7. You will see a result (configurable item only)
  8. Change the child product visibility to "Search"; you will see results for both the configurable product and the child product

Expected result

Whatever the configurable product visibility is, if the child products have visibility set to Search, Catalog, or Catalog, Search, we should get a result so the item can be retrieved on the product page.

Actual result

. Using this query, you will not see any results
. Change the visibility of the configurable product only to "Search" or "Catalog, Search"
. You will see a result (configurable item only)
. Change the child product visibility to "Search"; you will see results for both the configurable product and the child product

Additional information

No response

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

Labels

Issue: needs updateAdditional information is require, waiting for responseReported on 2.4.8-p3Indicates original Magento version for the Issue report.

Type

No type

Projects

Status

Needs Update

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions