QuestionQ50

VerifiedAdobe Experience Manager Sites

An Adobe Commerce developer needs to override the following Layout XML file in the ExampleCorp/orange.app/design/frontend/ExampleCorp/blank/Vendor_Module/layout/catalog_product_view.xml theme:

What path should the developer use within the theme’s layout directory to override this file?

Explanation

Adobe Commerce overrides a layout file inherited from a parent theme by placing an identically named file in <theme_dir>/<Namespace>_<Module>/layout/override/theme/<Parent_Vendor>/<parent_theme>/. For parent theme ExampleCorp/blank, the required relative layout path is override/theme/ExampleCorp/blank/catalog_product_view.xml.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!