11 <?php
if (count(
$block->getGroups())>1): ?>
12 <div
class=
"switcher store switcher-store" id=
"switcher-store">
13 <strong
class=
"label switcher-label"><span><?=
$block->escapeHtml(
__(
'Select Store')) ?></span></strong>
14 <div
class=
"actions dropdown options switcher-options">
15 <?php
foreach (
$block->getGroups() as $_group): ?>
16 <?php
if ($_group->getId() ==
$block->getCurrentGroupId()): ?>
17 <div
class=
"action toggle switcher-trigger" 20 data-
mage-init=
'{"dropdown":{}}' 21 data-toggle=
"dropdown" 22 data-trigger-keypress-button=
"true" 23 id=
"switcher-store-trigger">
25 <span><?=
$block->escapeHtml($_group->getName()) ?></span>
30 <ul
class=
"dropdown switcher-dropdown" data-target=
"dropdown">
31 <?php
foreach (
$block->getGroups() as $_group): ?>
32 <?php
if (!($_group->getId() ==
$block->getCurrentGroupId())): ?>
33 <li
class=
"switcher-option">
34 <a href=
"#" data-post=
'<?= /* @noEscape */ $block->getTargetStorePostData($_group->getDefaultStore()) ?>'>
35 <?=
$block->escapeHtml($_group->getName()) ?>
if( $form)() ?>< script > require(['jquery' mage mage