13 'region' => $this->helper(
'Magento\Framework\Json\Helper\Data')->jsonDecode(
14 $this->helper(
'Magento\Directory\Helper\Data')->getRegionJson()
16 'itemsData' =>
$block->getValues(),
17 'bundlePriceType' =>
'#price_type',
20 <div
id=
"attribute-<?= $block->getElement()->getHtmlId() ?>-container" class=
"field" 21 data-attribute-code=
"<?= $block->getElement()->getHtmlId() ?>" 22 data-
mage-init=
"<?= $block->escapeHtml($this->helper('Magento\Framework\Json\Helper\Data')->jsonEncode($data)) ?>">
23 <label
class=
"label"><span><?=
$block->getElement()->getLabel() ?></span></label>
26 <table
class=
"data-table">
29 <th
class=
"col-website" <?php
if (!
$block->isMultiWebsites()): ?>style=
"display: none;"<?php
endif; ?>><?=
__(
'Website') ?></th>
30 <th
class=
"col-country required"><?=
__(
'Country/State') ?></th>
31 <th
class=
"col-tax required"><?=
__(
'Tax') ?></th>
32 <th
class=
"col-action"><?=
__(
'Action') ?></th>
37 <td colspan=
"4" class=
"col-actions-add"><?=
$block->getAddButtonHtml() ?></td>
40 <tbody data-role=
"fpt-item-container" class=
"fpt-item-container">
44 Hidden field below with attribute code
id is necessary
for jQuery validation plugin.
45 Validation message will be displayed after
this field.
47 <input type=
"hidden" name=
"<?= $block->getElement()->getHtmlId() ?>" id=
"<?= $block->getElement()->getHtmlId() ?>" disabled=
"disabled">
50 <script data-role=
"row-template" type=
"text/x-magento-template">
51 <tr
id=
"<?= $block->getElement()->getHtmlId() ?>_weee_tax_row_<%- data.index %>" data-role=
"fpt-item-row">
52 <td
class=
"col-website" <?php
if (!
$block->isMultiWebsites()): ?>style=
"display: none"<?php
endif; ?>>
53 <select
id=
"<?= /* @escapeNotVerified */ $block->getElement()->getName() ?>_weee_tax_row_<%- data.index %>_website" 54 name=
"<?= /* @escapeNotVerified */ $block->getElement()->getName() ?>[<%- data.index %>][website_id]" 55 class=
"<?= /* @escapeNotVerified */ $block->getElement()->getClass() ?> website required-entry" data-role=
"select-website">
56 <?php
foreach (
$block->getWebsites() as $_websiteId => $_info): ?>
57 <option
value=
"<?= /* @escapeNotVerified */ $_websiteId ?>"><?= $_info[
'name'] ?><?php
if (!empty($_info[
'currency'])): ?>[<?= $_info[
'currency'] ?>]<?php
endif; ?></option>
61 <td
class=
"col-country">
62 <select
id=
"<?= /* @escapeNotVerified */ $block->getElement()->getName() ?>_weee_tax_row_<%- data.index %>_country" 63 name=
"<?= /* @escapeNotVerified */ $block->getElement()->getName() ?>[<%- data.index %>][country]" 64 class=
"<?= /* @escapeNotVerified */ $block->getElement()->getClass() ?> country required-entry" data-role=
"select-country">
65 <?php
foreach (
$block->getCountries() as $_country): ?>
66 <option
value=
"<?= /* @escapeNotVerified */ $_country['value'] ?>"><?= htmlspecialchars($_country[
'label']) ?></option>
69 <select
id=
"<?= /* @escapeNotVerified */ $block->getElement()->getName() ?>_weee_tax_row_<%- data.index %>_state" 70 name=
"<?= /* @escapeNotVerified */ $block->getElement()->getName() ?>[<%- data.index %>][state]" 71 class=
"<?= /* @escapeNotVerified */ $block->getElement()->getClass() ?> state" disabled=
"" data-role=
"select-state">
72 <option
value=
"0">*</option>
76 <input
name=
"<?= /* @escapeNotVerified */ $block->getElement()->getName() ?>[<%- data.index %>][price]" 77 class=
"<?= /* @escapeNotVerified */ $block->getElement()->getClass() ?> required-entry validate-greater-than-zero" 78 type=
"text" value=
"<%- data.value %>"/>
80 <td
class=
"col-action">
81 <input
name=
"<?= /* @escapeNotVerified */ $block->getElement()->getName() ?>[<%- data.index %>][delete]" class=
"delete" type=
"hidden" value=
"" data-role=
"delete-fpt-item"/>
82 <?=
$block->getChildHtml(
'delete_button') ?>
$block setTitle( 'CMS Block Title') -> setIdentifier('fixture_block') ->setContent('< h1 >Fixture Block Title</h1 >< a href=" store url</a><p> Config value
if( $form)() ?>< script > require(['jquery' mage mage
foreach( $rates as $rate)($isTop) endif
jQuery('.store-switcher .dropdown-menu li a').each(function()