An Adobe Commerce developer is working on an Acme_Exceptions module which is supposed to overwrite logic inside some of Magento native exceptions such as \Magento\Frame-work\Exception\NoSuchEntityException or \Mogento\Framwork\GraphQ1\Exception\GrephQlInputException , The module is open-source and will be available on packagist.org.
The build of the codebase of projects, including the module, will sometimes take place in docker containers with full access to filesystem. but then it is deployed to a read-only filesystem.
Which two approaches would the developer use to overwrite logic in those exceptions? (Choose two.)
There is an integration developed using a cron service that runs twice a day. sending the Order ID to the integrated ERP system if there are orders that are able to create an invoice. The order is already loaded with the following code:
$order =$this->orderRepository->get($orderid);
In order to verify if the store has invoices to be created, what implementation would the Adobe Commerce developer use?
A)
B)
C)
An Adobe Commerce developer is being tasked with storing additional data for products added to the cart in the quote. A new column should be added to the Quote_item table to store the value-Following best practices, how would the developer extend the database to accomplish this?
A)
B)
A client wants to change the look and behavior of the products thumbnails in the products grid on the admin panel. Which code would be added to the module's view/adminhtml/ui_component/product_listing.xml file?
A)
B)
C)
An Adobe Commerce Developer has created a new custom block extending \Magento\Framework\view\Element\AbstractBlock and has set the cache_lifetime data property for the block so that the output gets cached.
The block is inserted into the sidebar, and displays differing content depending on which currency is being used. The developer finds that the block is displaying the same content for all currencies, depending on which currency is viewed first after the cache has been flushed.
How would the developer resolve this?