An Adobe Commerce developer has just finished creating a new custom entity, a block that extends \Mangento\Framework\View|Element\abstractBlock that lists all of the existing entities and a controller with the appropriate handle to display the block.
The developer now wants to implement cache on the block so that when one of the custom entities is saved, the cache of the block is automatically invalidated.
According to best practices- what are the two steps to accomplish this? (Choose two.)
Answer : A, C
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 the CLI command php bin/magento app:config:dump is used.
How would the developer achieve this?
A)
C)
Answer : B
When creating a new payment method, the Adobe Commerce developer adds the dependency injection configuration for payment method facade in the modules etc\di.xml.
What is required for the custom payment methods Value Handlers pool?
Answer : B
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 a Boolean and 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)
Answer : B
An Adobe Commerce developer is being tasked with creating a new cron job to run a method that has already been written. What are the minimally required steps to accomplish this?
Answer : C
A client has requested a new field on the admin product edit page for simple products that displays a list of links to parent products to which the simple product belongs.
According to best practices, how would an Adobe Commerce developer implement this?
Answer : B
An Adobe Commerce developer is tasked with adding an new export option for the order grid, they have added the following code for the export button within sales_order_grid.xml
Upon testing, they are getting redirected, what would be a cause for this error?
Answer : B