Which two actions are required to ensure the new plugin will execute last?

You are implementing a before plugin in MyCompany_Magic. It will intercept the same method that MyCompany_Admissionis already intercepting using a before plugin: Topmenu::getBlockHtml Which two actions are required to ensure the new plugin will execute last? (Choose two.)A . Include a sortOrder=”20” on the new plugin in MyCompany_Magic’s etc/di.xml fileB...

December 20, 2019 No Comments READ MORE +

How does Magento store customer address attribute values?

How does Magento store customer address attribute values?A . Customer address is a flat entity, so all values are stored in the customer_address_entity tableB . Customer address is not an entity, so its properties are customer attributesC . Customer address is an attribute of the customer, so it doesn’t have...

December 20, 2019 No Comments READ MORE +

How do you resolve the exception?

You need to find all orders in the processing state. You have written the code: How do you resolve the exception?A . Use dependency injection to load an instance of the SearchCriteria classB . Change the getList parameter to: $searchCriteraBuilder->addFilter(‘state’,’processing’)->create()C . Clear generated code to get a new version of...

December 19, 2019 No Comments READ MORE +

How do you restrict an access to the section using Magento ACL?

You have created a new section in system configuration under the Catalog tab: How do you restrict an access to the section using Magento ACL? A) B) C) D) View AnswerAnswer: B Explanation: Reference: https://www.mageplaza.com/magento-2-module-development/magento-2-acl-access-control­lists.html

December 17, 2019 No Comments READ MORE +

Keeping simplicity in mind, how do you add this attribute?

You need to add a new text attribute to all products in the Magento store. When this attribute is displayed on the product page, its values must be different depending on the selected language. Keeping simplicity in mind, how do you add this attribute?A . Use the Magento CLI to...

December 16, 2019 No Comments READ MORE +

How is this represented in Magento?

You are working on a jewelry store that sells rings. Each ring allows an adjustment in size. The customer specifies finger size in inches and the merchant physically adjusts the stocked ring to the required size. How is this represented in Magento?A . Using custom options, with rings as simple...

December 15, 2019 No Comments READ MORE +

What is the purpose of this element?

While reviewing a layout file named sales_order_view.xml you notice the element <update handle=”customer_account”/> What is the purpose of this element?A . Replaces the customer_account handle with sales_order_viewB . Nothing, this element has been deprecatedC . Adds the customer_account handle to the page’s handles listD . Updates the current page handle...

December 14, 2019 No Comments READ MORE +

Which two installations options do you choose from to prevent version conflicts during upgrade?

You are tasked to install an extension to the merchant’s Magento instance. The extension is developed by the company called MyCompany and its codebase is available from all four locations listed below. Which two installations options do you choose from to prevent version conflicts during upgrade? (Choose two.)A . Clone...

December 14, 2019 No Comments READ MORE +

What do you specify as the menu item action attribute value so it links to /admin/mycompany/mymodule/?

You are adding a new menu item to the admin backend which will link to a custom backend page. The declaration of the route: What do you specify as the menu item action attribute value so it links to /admin/mycompany/mymodule/?A . action=”adminhtml/mycompany/mymodule/”B . action=”admin/mycompany/mymodule/”C . It is not possible without...

December 12, 2019 No Comments READ MORE +

What scopes are available for customer attributes?

What scopes are available for customer attributes?A . Global onlyB . Website onlyC . Global and WebsiteD . Global, Website and StoreView AnswerAnswer: A Explanation: Reference: https://magento.stackexchange.com/questions/258212/which-entity-allows-scoped-attributes

December 12, 2019 No Comments READ MORE +