-
Notifications
You must be signed in to change notification settings - Fork 1.7k
magento/devdocs#: New topic. Product layouts #4489
magento/devdocs#: New topic. Product layouts #4489
Conversation
An admin must run tests on this PR before it can be merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, provide also links to the existing layout files from Magento Github repository (for all examples) in a separate comment to this PR.
Thank you!
Layout file | Description | ||
--- | --- | ||
`catalog_product_view.xml` | Common layout. Affects all product types | ||
`catalog_product_view_type_bundle.xml` | Layout directives from this file implements to `bundle` product only |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, change the "directive" term to the "layout" or "node". The directive term in development has a little bit different meaning and more applicable to an argument or a property.
So in result we have something like:
"Layout from this file is applied to bundle products only" and so on.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Links to Magento source code
|
An admin must run tests on this PR before it can be merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added to the TOC and a slight edit. Looks good.
running tests |
running tests |
Hi @atwixfirster, thank you for your contribution! |
Purpose of this pull request
This pull request (PR) adds new "Product layout" topic into front-end developer guide.
Affected DevDocs pages
Links to Magento source code
Thank you!
whatsnew
Added a new topic for Product layouts in the Frontend Developers Guide.