@@ -244,7 +244,7 @@ All same as layout, but subDir 'page_layout':
244
244
<theme>*_*/page_layout/override/theme/*/*/*.xml
245
245
```
246
246
247
- View\Layout\ProcessorInterface = View\Model\Layout\Merg
247
+ View\Layout\ProcessorInterface = View\Model\Layout\Merge
248
248
- $updates - array of all found string XML file contents E.g.
249
249
```
250
250
updates[] = '<body><block name="someBlock"...'
@@ -260,8 +260,8 @@ View\Layout\ProcessorInterface = View\Model\Layout\Merg
260
260
- create new theme from scratch without parent when design is very different from existing
261
261
- inherit new theme to add smaller customizations - move, hide, reorder elements, change block arguments, html attributes
262
262
- new theme can be assigned to specific store view, for example for b2b store
263
- - theme can apply dynamically based on browser user agent as exception - enter regexp
264
- Content > Design > Implementation > [ Edit] > Design Rule > User Agent Rules
263
+ - theme can apply dynamically based on browser user agent as exception - enter regexp in
264
+ _ Content > Design > Implementation > [ Edit] > Design Rule > User Agent Rules _
265
265
Full page cache and design exception:
266
266
```
267
267
plugin magento-store/etc/di.xml:
@@ -285,9 +285,9 @@ View\Layout\ProcessorInterface = View\Model\Layout\Merg
285
285
286
286
theme.xml - parent
287
287
288
- Determine theme hierarch of existing project:
288
+ Determine theme hierarchy of existing project:
289
289
290
- - Go to Content > Design > Configuration
290
+ - Go to _ Content > Design > Configuration _
291
291
- Check "Theme Name" column on row with store view under question
292
292
- find paths to all available themes in app/etc/design/frontend/* or vendor/* /theme-* (conventionally)
293
293
or find programmatically:
0 commit comments