File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed
app/code/Meta/BusinessExtension/view/adminhtml/templates Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change 7
7
<select id="store">
8
8
<option value=""><?= $ escaper ->escapeHtml (__ ('Select store ' )) ?> </option>
9
9
<?php foreach ($ block ->getStores () as $ key => $ store ): ?>
10
- <?php if ($ key == 'admin ' ): continue ; endif ; ?>
11
- <option
12
- value="<?= $ escaper ->escapeHtmlAttr ($ store ['store_id ' ]) ?> "
13
- data-installed="<?= $ escaper ->escapeHtmlAttr ($ block ->isFBEInstalled ($ store ['store_id ' ])) ?> "
14
- data-pixel-id="<?= $ escaper ->escapeHtmlAttr ($ block ->fetchPixelId ($ store ['store_id ' ])) ?> "
15
- data-system-user-name="<?= $ escaper ->escapeHtmlAttr ($ block ->getExternalBusinessId ($ store ['store_id ' ])) ?> "
16
- data-external-business-id=
17
- "<?= $ escaper ->escapeHtmlAttr ($ block ->getExternalBusinessId ($ store ['store_id ' ])) ?> "
18
- ><?= $ escaper ->escapeHtml (__ ($ store ['name ' ])) ?> </option>
10
+ <?php if ($ key !== 'admin ' ): ?>
11
+ <option
12
+ value="<?= $ escaper ->escapeHtmlAttr ($ store ['store_id ' ]) ?> "
13
+ data-installed="<?= $ escaper ->escapeHtmlAttr ($ block ->isFBEInstalled ($ store ['store_id ' ])) ?> "
14
+ data-pixel-id="<?= $ escaper ->escapeHtmlAttr ($ block ->fetchPixelId ($ store ['store_id ' ])) ?> "
15
+ data-system-user-name="<?= $ escaper ->escapeHtmlAttr ($ block ->getExternalBusinessId ($ store ['store_id ' ])) ?> "
16
+ data-external-business-id=
17
+ "<?= $ escaper ->escapeHtmlAttr ($ block ->getExternalBusinessId ($ store ['store_id ' ])) ?> "
18
+ ><?= $ escaper ->escapeHtml (__ ($ store ['name ' ])) ?> </option>
19
+ <?php endif ; ?>
19
20
<?php endforeach ; ?>
20
21
</select>
21
22
<div>
You can’t perform that action at this time.
0 commit comments