You are developing a new payment method. It is required that any new order created with this payment method needs to have a specific custom status. Assume the status has been added to the system already, assigned to the processing state, and the new order state for the payment method is processing. How do you set the custom status on orders placed with the new payment method?
You are working on a new feature to allow multiple vendors for various products. To display vendors you add a custom fieldset component and select with the name myCompanyVendors. It will be shown if the number of vendors is more than one.
To do this you implement a custom method on your component:
How do you cause the method to be called when the value of options change?
A)
B)
C)
D)
A merchant is planning to create a single scheduled update for one million products. They are wondering about website performance. What two performance issues will the update cause?
Suppose in a store there are 500 categories and it's increasing as per the need. Let's say your frontend developer asked you to modify the header and include CSS files on some specific category pages based on the custom category attribute selection from backend. What should be the acceptable and easiest way to do this, so that no new file creation and code update will be required after implementation:
In homepage, you need to add inline css in the body tag. What should be the correct way of doing this using layout XML file cms_index_index.xml:
You have a task to modify the grand total on the checkout page with a negative price adjustment which depends on the shipping address postcode. What are two approaches to be used in this case?
You need to build a custom module to add a notice to the Advanced Inventory section on the product form. The notice text can be specified in the system configuration. How do you implement this?
Magento regenerates the admin URL secret key for each new session. What is the purpose of this key?