Skip to content

Multi-store: Missing store codes in relation to a group and website #28569

Closed
@magento-engcom-team

Description

@magento-engcom-team

In order to switch stores in a Multi-store Magento instance, a developer would need a GraphQL Query that would return a list with the following data (currently available for the current store inside storeConfig)

 

query {
  storeConfig {
1. Available
    id 
    header*logo*src 
    logo_alt 
    logo_width 
    logo_height 
    store_name
    ...

1. Missing
    stores {
       id 
       header*logo*src 
       logo_alt 
       logo_width 
       logo_height 
       store_name
       ...
    }
 
  }
}

 

!image-2020-05-11-10-11-04-038.png!

Requirements:

  1. This should be implemented in accordance with architectural proposal Add query to get available stores architecture#390
  2. availableStores query should only return other stores under the same website as the current store. It should not expose other websites.

 

Metadata

Metadata

Assignees

Labels

Fixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: Format is not validGate 1 Failed. Automatic verification of issue format is failedPAPPartners acceleration programProject: GraphQLReproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions