Question 26

A merchant of an Adobe Commerce Cloud project wants to setup one of their websites using a subdomain.
The merchant is considering the domain to be set as secondstore.example.com.
In addition to editing the magento-vars.php file, and apply a domain check and set
$_SERVER["MAGE_RUN_CODE"] and $_SERVER["MAGE_RUN_TYPE"].
What file is required to perform this action?
  • Question 27

    An Adobe Commerce developer has created a before plugin for the save() function within the Magento\Framework\App\cache\Proxy class. The purpose of this plugin is to add a prefix on all cache identifiers that fulfill certain criteria.
    Why is the plugin not executing as expected?
  • Question 28

    An Adobe Commerce Cloud project is using Enhanced Integration Environments with two install a new payment module.
    The developer is using Cloud CLI for Commerce tool.
    What would a developer do to test this new feature under the integration environment?
  • Question 29

    When checking the cron logs, an Adobe Commerce developer sees that the following job occurs daily:
    main.INFO: Cron Dob inventory_cleanup_reservations is successfully finished. However, the inventory_reservation table in the database is not emptied. Why are there records remaining in the inventory_reservation table?
  • Question 30

    An Adobe Commerce developer is creating a new module to extend the functionality of the cart. The module is installed in app/code/CompanyName/ModuleName/.
    How would an Adobe Commerce developer extend the existing CartltemPrices GraphQL schema to include a custom base_price field?