11 <div
class=
"field field-store-switcher">
12 <label
class=
"label" for=
"store_switcher"><?=
__(
'Current Configuration Scope:') ?></label>
14 <select
id=
"store_switcher" class=
"system-config-store-switcher" onchange=
"location.href=this.options[this.selectedIndex].getAttribute('url')">
16 <?php
if (isset(
$_option[
'is_group'])): ?>
20 <optgroup label=
"<?= $block->escapeHtml($_option['label']) ?>" style=
"<?= /* @escapeNotVerified */ $_option['style'] ?>">
24 <option
value=
"<?= $block->escapeHtml($_value) ?>" url=
"<?= /* @escapeNotVerified */ $_option['url'] ?>" <?=
$_option[
'selected'] ?
'selected="selected"' :
'' ?> style=
"<?= /* @escapeNotVerified */ $_option['style'] ?>">
30 <?=
$block->getHintHtml() ?>
31 <?php
if (
$block->getAuthorization()->isAllowed(
'Magento_Backend::store')): ?>
33 <a href=
"<?= /* @escapeNotVerified */ $block->getUrl('*/system_store') ?>"><?=
__(
'Stores') ?></a>
$block setTitle( 'CMS Block Title') -> setIdentifier('fixture_block') ->setContent('< h1 >Fixture Block Title</h1 >< a href=" store url</a><p> Config value
foreach($block->getWebsiteCollection() as $_website) foreach($block->getGroupCollection($_website) as $_group) foreach( $block->getStoreCollection( $_group) as $_store)($showWebsite==false) if($block->getRequest() ->getParam('website')==$_website->getId()) endif
if($block->getStoreId()==$_store->getId()) endforeach