Question 11

There is the task to create a custom product attribute that controls the display of a message below the product title on the cart page, in order to identify products that might be delivered late.
The new EAV attribute is.deloyed has been created as aBooleanand is working correctly in the admin panel and product page.
What would be the next implementation to allow the is_delayed EAV attribute to be used in the .phtml cart page such as $Block->getProduct()->getIsDelayed() ?
A)

B)

C)
  • Question 12

    Which entity in Magento supports scoped attributes?
  • Question 13

    A message queue currently has queue/consumer-wait-for-messages set to true, which allows the consumer process to run until a message is inserted into the queue. A piece of functionality is driven by data stored in the model.\Magento\Variable\\Model\variable and this value is only loaded once during the consumer run. If the variable is updated we want the consumer to restart so that the new value is loaded into memory without having to reload the variable on each message consumed.
    The Adobe Commerce developer has created an after plugin on the \Magento\variable\variable::save() function.
    How would the developer use the plugin to trigger the consumer restart?
  • Question 14

    When using the traditional Magento frontend, an Adobe Commerce developer is tasked to create a before plugin every time that the totals information loads on the cart page summary.
    Considering performance, where would the di .xml be added?
  • Question 15

    An Adobe Commerce developer has a requirement to add some settings which are unique to a specific system and it will be dumped to app/etc/env.php when theCLI command php bin/magento app:config:dump is used.
    How would the developer achieve this?
    A)

    B)

    C)