Question 11

A merchant has created a segment that applies to registered customers whose gender is female. You then migrate customers by copying data directly from one database to another. What two ways are used to assign migrated customers with a female gender to the segment?
  • Question 12

    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?
  • Question 13

    You are working on a project with custom code located in an observer MyCompany\MyModule\Observer\Custom on the catalog_product_load_before event. How do you prevent your custom observer from being executed on a staging preview?
  • Question 14

    For an existing core class, you created 3 plugins PluginA, PluginB and PluginC with sort orders 10, 20 and 30 respectively. but when implementing pluginB you used around method and did not used callable in it.What should be the plugins executaion order as per above scenerio:
  • Question 15

    A furniture merchant have 100k products in the store. In a custom product list page, he advised you to enable the caching as per user paginate the products. So what should the approach to cache the block data as per pagination request: