You need to add the Google Tag Manager (GTM) to every page. What three steps do you take to
accomplish this in MyCompany_MyModule?
A, B, C
You are customizing the display of product details page. On this page ur customer need to change the
url in which the product category name will be appear as
http://mystore.com/women/tops-
women/helena-hooded
-
fleece.html , Keeping ,maintainability in mind ,How to get product url with category?
A
You have created a module to show manufacturer-list, but in your page need to show Pagination that
already ready in your block. Keeping maintainability in mind, where you call echo $block-
>getPagerHtml();?
A
You need to control access to a custom controller action. How do you tell Magento about this new
control option?
A
You have created a module to show manufacturer-list,Your customer need url as
www.storeurl/manufacturer
which file are mendatory to show correct url?
A, B, C
You are making some major adjustments to a core Magento class (ClassA). These adjustments are
only necessary when utilized from a specific Magento class (ClassB). You have created MyClass that
contains the needed customizations.
Keeping upgradeability in mind, how do you configure di.xml to make the substitution happen?
A
You need to add a new column to the sales_shipment and the sales_shipment_grid tables. Other
than utilizing the default addColumn methods, what way is automatic?
A
You are building a new module to add extra functionality to the Magento application.You want to
works with CustomerData the data stored on the client side. Where initialized sections Cart and
Directory-data are on the server side via the classes?
A
You are trying to determine why a product is not appearing in a category. What table does Magento
on the frontend to locate the relationship between a category and its products?
A
Magento and third-party developers can find it difficult to track and report the dependencies that
customized extensions have on other extensions. To address these issues, the Magento system
introduces service contracts. What is a Service Contracts - Data interfaces?
A
You have created a new product type, sample, and need to customize how it renders on the shopping
cart page. Keeping maintainability in mind, how do you add a new renderer?
A.
Create
the
layout
file,
checkout_cart_item_renderers.xml,
reference
the
checkout.cart.item.renderers block and add a new block with an as="sample" attribute.
B. Override the cart/form.phtml template and add logic for the sample product type.
C. Create the layout file, checkout_cart_index.xml, and reference the checkout.cart.renderers block
and add a block with the as="sample" attribute.
D. Create the layout file, checkout_cart_index.xml, and update the cart page's uiComponent to
appropriately render the sample product type.
A
You are building an tool that imports products from an ERP. There are 20 columns of additional
information that are associated with each product. This extra information must also be associated
with an update time to know when to refresh the dat
a. Keeping maintainability in mind, how do you build this into Magento?
A
You are reviewing a module to some special functionality to the Magento 2 application, You see
directory /CustomerData, What task you think in this directory contain script for this modules?
A
You are building CLI that use the console to create a customer account with our custom command as
like
php
bin/magento
customer:user:create
--customer-firstname="Mahin"
--customer-
lastname="Rahman" --customer-email="[email protected]" --customer-password="mahin@123"
--website="1"
using:
protected
function
configure()
{
$this->setName('customer:user:create')
-
>setDescription('Create new customer') ->setDefinition($this->getOptionsList()); } protected function
getOptionsList(){
return
[
------------------]; } Which below Option are not required in blank? (Choose 2)
A, B
You need to render a product attributes raw value as a variable in a script tag. This value will be used
to initialize an application on the frontend. How do you render this value?
A