An Adobe Commerce developer is extending a theme from Magento\blank and wants to override parent styles.
Which file does the developer need to change to override the parent theme styles?
Aweb/css/source/_extends.less
Bweb/css/source/_extend.less
Cweb/css/source/_theme.less
0
Question 2
Adobe Experience Manager Sites
0
Question 3
Adobe Experience Manager Sites
0
Question 4
Adobe Experience Manager Sites
0
Question 5
Adobe Experience Manager Sites
0
That's the end of the Preview
This exam has 50 community-verified practice questions. Create a free account to access all questions, comments, and explanations.
Topics covered:
Adobe Experience Manager as a Cloud ServiceAdobe Experience Manager SitesAdobe Experience Manager Assets
An Adobe Commerce developer wants to override the template assigned to a block named existing.product.block. This relationship is defined in the catalog_product_view.xml layout in the Magento_Catalog module. They cannot simply override the file in their theme, as this change is part of a feature that is being released to the marketplace as a module called "Orange_CustomProduct".
The developer has already created the desired template at app/code/Orange/CustomProduct/view/frontend/templates/custom-product-block.phtml.
What can they add to app/code/Orange/CustomProduct/view/frontend/layout/catalog_product_view.xml in their module to accomplish this?
A
B
C
D
In which folder can a custom theme favicon be added?
A<your_theme_dir>/web/
B<your_theme_dir>/Magento_Theme/web/
C<your_theme_dir>/assets/images
An Adobe Commerce developer is building a theme Vendor/Orange and needs to customize the header of email templates.
Where in the theme does the developer need to place the new template for this customization?
Which two steps are required to delete a manually installed theme? (Choose two.)
ARemove the theme using the theme:uninstall CLI command
BRemove the directory app/design/frontend/<VendorName>/<ThemeName>
CDisable the theme from the backend admin configuration
DRemove the theme record from the theme database table
Question 6
Adobe Experience Manager Sites
0
Question 7
Adobe Experience Manager Sites
Question 8
Adobe Experience Manager Sites
Question 9
Adobe Experience Manager Sites
Question 10
Adobe Experience Manager Sites
Question 11
Adobe Experience Manager Sites
Question 12
Adobe Experience Manager Sites
Question 13
Adobe Experience Manager Sites
Question 14
Adobe Experience Manager Sites
Question 15
Adobe Experience Manager Sites
Question 16
Adobe Experience Manager Sites
Question 17
Adobe Experience Manager Sites
Question 18
Adobe Experience Manager Sites
Question 19
Adobe Experience Manager Sites
Question 20
Adobe Experience Manager Sites
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ad
Want a break from the ads?
Become a Supporter and enjoy a completely ad-free experience, plus unlock Learn Mode, Exam Mode, AstroTutor AI, and more.
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
An Adobe Commerce developer needs to modify the width and height of all product images inside the theme Vendor/theme.
What file inside the theme is responsible for these changes?
AVendor/theme/etc/images.xml
BVendor/theme/etc/view.xml
CVendor/theme/etc/theme.xml
An Adobe Commerce developer has been asked to move a block called country from the container sidebar to the container content, the block has to be the last child on the content container.
Which layout instruction would be used to move the block?
A <move element="country" destination="content" after="-"/>
B <move element="country-element" destination="content-element"/>
C <move element="country" destination="content" after="last-child"/>
An Adobe Commerce Developer is adding a new page layout to the theme directory within a custom theme.
Which file needs to be created to register the new page layout?
An Adobe Commerce developer is using a view model within an existing block:
What are two ways to access the view model class in the template? (Choose two.)
A$block->getData('view_model')
B$block->viewModel()
C$block->getViewModel()
D$block->getData('viewModel')
An Adobe Commerce developer needs to pass JSON data to a JavaScript component while keeping XSS prevention strategies in mind.
Which two options would the developer use? (Choose two.)
A
B
C
D
An Adobe Commerce developer created a module called Orange_Customer. In this module the developer is adding a new .phtml file which will display customer information.
Where would the developer place this file?
An Adobe Commerce developer needs to display a URL in the template.
How would the variable $url be securely output in the template?
A <?php echo $escape->escapeUrl($url) ?>
B <?php echo $escape->escapeLink($url) ?>
C <?php echo $escaper->escapeHtml($url) ?>
An Adobe Commerce developer is trying to remove a block using the <remove name="test.block"/> tag in a layout XML file but it shows an error and doesn't work.
Which tag would be applied to fix the error?
An Adobe Commerce developer wants to remove the default Wishlist and Compare Products blocks on a category page with layered navigation.
Where would this modification be placed, assuming the developer only wants to make this change?
An Adobe Commerce developer has created a system configuration field:
Using Layout XML, how can the visibility of a block be controlled by a system configuration?
A <block name="block.name" template="Vendor_Module::template.phtml" ifconfig="vendor/general/enable" />
B <block name="block.name" template="Vendor_Module::template.phtml" ifconfig="module/general/enable" />
C <block name="block.name" template="Vendor_Module::template.phtml" ifconfig="general/module/enable" />
An Adobe Commerce developer has been asked to add text to an email template that supports translations.
Which two options would they use during their implementation? (Choose two.)
A{{translations "Lorem Ipsum is simply dummy text of the printing"}}
B{{translations "%items items" items="numItems"}}
C{{trans "Lorem Ipsum is simply dummy text of the printing"}}
D{{trans "%items items" items="numItems"}}
An Adobe Commerce developer wants to completely overwrite _module.less of Orange_Checkout module, in their theme.
Where would the developer place the file?
Where are the Magento UI library LESS files located?
AMagento_Ui/web/css/source/
BMagento_Lib/web/css/source
Clib/web/css/source/lib
An Adobe Commerce developer is customizing buttons for a custom theme that inherits Magento/blank theme and needs to override the default values.
Where would the default values for the buttons be located?
Alib/web/css/source/lib/_buttons.less
Blib/web/less/source/lib/_buttons.less
Clib/web/css/source/lib/_button.less
An Adobe Commerce developer has found following code:
After compiling the .less file into a .css file, what will be the results of the code above?