12 <div
class=
"field field-store-switcher">
13 <label
class=
"label" for=
"store_switcher"><?=
$block->escapeHtml(
__(
'Choose Store View:')) ?></label>
17 class=
"admin__control-select" 18 name=
"store_switcher">
22 <?php $showGroup =
false; ?>
26 <optgroup label=
"<?= $block->escapeHtmlAttr($website->getName()) ?>"></optgroup>
28 <?php
if ($showGroup ==
false): ?>
29 <?php $showGroup =
true; ?>
30 <optgroup label=
" <?= $block->escapeHtmlAttr($group->getName()) ?>">
34 <?php
if ($showGroup): ?>
41 <?=
$block->getHintHtml() ?>
44 require([
'prototype'],
function(){
47 Event.observe($(
'store_switcher'),
'change',
function(event) {
48 var element = Event.element(event);
49 $(
'preview_store_id').
value = element.value;
if( $websites=$block->getWebsites())(__( 'Choose Store View:')) ?></label >< div class $showWebsite
$block setTitle( 'CMS Block Title') -> setIdentifier('fixture_block') ->setContent('< h1 >Fixture Block Title</h1 >< a href=" store url</a><p> Config value
if($block->getStoreId()==$store->getId()) endforeach
foreach($website->getGroups() as $group) foreach( $block->getStores( $group) as $store)($showWebsite==false) endif
$_count $_index $_prevOptionId if($block->getOrderOptions()|| $_item->getDescription()) foreach( $items as $_item)( $_item) ?><?php $attributes if( $_item->getOrderItem() ->getParentItem())($_prevOptionId !=$attributes['option_id'])</td >< td > & nbsp