Adobe AD0-E720 Practice Test - Questions Answers, Page 2
List of questions
Related questions
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/f rontend/templates/custom-product-block.phtml.
What can they add to app/code/Orange/CustomProduct/view/f rontend/layout/catalog_product_view. xml in their module to accomplish this?
A)
B)
C)
D)
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.)
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)
C)
D)
An Adobe Commerce developer created a module called Orange_Customer. In 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 $ur1 be securely output in the template?
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?
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.)
An Adobe Commerce developer wants to completely overwrite _module. less of Orange_Checkout module, in their theme. Where would the developer place the file?
Question