Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Adobe Exam AD0-E720 Topic 6 Question 18 Discussion

Actual exam question for Adobe's AD0-E720 exam
Question #: 18
Topic #: 6
[All AD0-E720 Questions]

An Adobe Commerce developer wants to override the following Layout XML file in the theme ExampleCorp/orange.

app/design/frontend/ExampleCorp/blank/Vendor_Module/layout/catalog_product_view.xml

What path would the developer use inside the layout directory of the theme to override the file?

Show Suggested Answer Hide Answer
Suggested Answer: B

The bin/magento dev:source-theme:deploy command is used to create symlinks for frontend theme files during development. This command allows the developer to modify source files without running static content deployment every time. The developer can use parameters to specify the type, locale, theme, and file names for creating symlinks. For example, to create symlinks for a CSS file named styles-l.css for the Vendor/Orange theme and the en_US locale, the developer can use:

bin/magento dev:source-theme:deploy --type=less --locale=en_US --theme=Vendor/Orange css/styles-l

The other two options are incorrect because they do not create symlinks for frontend theme files. The bin/magento dev:theme:deploy command is used to register themes with Magento and clear caches. The bin/magento deploy:mode:set command is used to change the application mode. Reference:Adobe Commerce Developer Documentation,Adobe Inc.


Contribute your Thoughts:

Shonda
2 days ago
Actually, I think it's just /catalog_product_view.xml because it's already in the theme directory
upvoted 0 times
...
Denny
3 days ago
I disagree, I believe the correct path is /override/theme/ExampleCorp/blank/catalog_product_view.xml
upvoted 0 times
...
Shonda
4 days ago
I think the path would be /override/ExampleCorp/blank/catalog_product_view.xml
upvoted 0 times
...
Delisa
6 days ago
But the developer wants to override the file in the theme ExampleCorp/orange, so it should be A)
upvoted 0 times
...
Teri
9 days ago
I disagree, I believe the correct path is C) /catalog_product_view.xml
upvoted 0 times
...
Delisa
12 days ago
I think the answer is A) /override/ExampleCorp/blank/catalog_product_view.xml
upvoted 0 times
...

Save Cancel