Snippet_Layout
Issue: how to work with default layout? How to add an arguments/argument node to the block and change value on another page? How to render your own page using layout? How to add/remove a block from a particular page?
Prerequisites:
- create a product (e.g. 'Test Product') and make it in stock and visible
- create a category (e.g. 'Test Category') and make it visible on frontend
- assign this product to this category
Test Urls:
http://{host.name}/snippet_layout/layout/index
http://{host.name}/{test-category}.html
http://{host.name}/{test-product}.html
To enable this module execute:
php bin/magento --clear-static-content module:enable Snippet_Layout
php bin/magento setup:upgrade