A logistics company with an Adobe Commerce extension sends a list of reviewed shipment fees to all
its clients every month in a CSV file. The merchant then uploads this CSV file to a "file upload" field in
admin configuration of Adobe Commerce.
What are the two requirements to display the "file upload' field and process the actual CSV import?
(Choose two.)
A.
Create an observer that listens to the adminhtml_config_system_save_after
B.
Add a new field in etc.adminhtml/system.xml in my_Module with the file type:
C.
Add a custom backend model which extends /Magento\Framework\App\Config\Value and call
afterSave:
D.
Add a new field in etc/adminhtml\system.xml in My_Module with a new custom type:
Question No 2
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)
Question No 3
An Adobe Commerce developer is tasked to add a file field to a custom form in the administration
panel, the field must accept only .PDF files with size less or equal than 2 MB. So far the developer has
added the following code within the form component xml file, inside the filedset node:
How would the developer implement the validation?
A)
B)
C)
Question No 4
A product has some stock and quantity in the Sources panel in its edit view m the admin:
But when trying to add this product to the cart on the frontend. the following error is displayed:
"The requested qty is not available".
Why was this error received?
Question No 5
An Adobe Commerce Developer is tasked with creating a custom form which submits its data to a
(rontend controller. They have decided to create an action and have implemented
the\magnto\Framework\App\Action|HttpPostInterface class, but are not seeing the data being
persisted in the database, and an error message is being shown on the frontend after submission.
After debugging and ensuring that The data persistence logic is correct, what may be cause and
solution to this?