You are developing an in-house solution for catalog management which is implemented as a Magento module called MyCompany_MyModule. To streamline integration with the ERP system you decided to expose MyCompany_MyModule'S functionality via REST.
What are the three minimum requirements to achieve this?
Suppose there are 3 classes: Class A, B and C. Class C have dependecy of Class A You need to overrride/change an argument of class A, create an object of it and inject in Class B in such a way that it should not affect the class C. What should be the magento standard way to do this:
You need to create a list of warehouses with a set of details in the configuration values: warehouse name, warehouse postcode. For this, suppose you created a custom configuration file under your module's etc/warehouses_list.xml. Now what should be the name of it's XSD schema for this xml file validation:
A Magento site is experiencing an issue where a fatal out of memory error occurs during a custom bulk catalog import process. Here is the code:
You are working on a custom page where the content of a CMS block has to be rendered. You know the merchant is using Staging for CMS blocks. In your code you have access to the $repository object which is an instance of \Magento\Cms\Api\BlockRepositoryInterface. $blockld which is the original block ID, and $current Version which is the current Staging version.
How do you load the CMS block with the right Staging version?
A)
B)
C)
D)