Exit AD0-E722 Adobe Commerce Architect Master
Question 5 of 5
0% complete
Q5 Single choice

A single Adobe Commerce Cloud instance is set up with two websites (each with a single store view) with different domains.

1. The default website is website_one, with store view store_one, and domain storeone.com.
2. The second website is website_two, with store view store_two, and domain storetwo.com.

The magento-vars. php file is set up as follows to determine which website each request runs against:

When testing a new GraphQL integration, all requests returned data relating to the default website, regardless of the domain.

What is causing this issue?

  • A

    The magento-vars.php file is not processed for any GraphQL requests, so the default website is always processed.

  • B

    $_server["mage_run_cooe") needs to be setto store and *$_SERVER["MAGE_RUN_TYPE"] needs to be set to the store code instead.

  • C

    GraphQL requests are always run against the default store view unless a store header or store cookie is provided.