Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
list.phtml
Go to the documentation of this file.
1 <?php
6 // @codingStandardsIgnoreFile
7 /* @var $block \Magento\GroupedProduct\Block\Product\Grouped\AssociatedProducts\ListAssociatedProducts */
8 ?>
9 <script type="text/x-magento-template" id="group-product-template">
10 <tr title="#" class="pointer" data-role="row">
11  <td data-column="info" class="col-draggable col-info">
12  <span class="draggable-handle"></span>
13  <input
14  type="hidden"
15  name="links[associated][<%- data.id %>][id]"
16  value="<%- data.id %>"
17  data-role="id" />
18  <input
19  type="hidden"
20  name="links[associated][<%- data.id %>][position]"
21  value="<%- data.position %>"
22  data-role="position" />
23  </td>
24  <td data-column="name" class="editable col-name">
25  <%- data.name %>
26  </td>
27  <td data-column="sku" class="col-sku">
28  <%- data.sku %>
29  </td>
30  <td data-column="price" class="col-price">
31  <%- data.price %>
32  </td>
33  <td data-column="qty" class="editable col-qty col-number">
34  <input
35  type="text"
36  class="admin__control-text"
37  name="links[associated][<%- data.id %>][qty]"
38  value="<%- data.qty %>">
39  </td>
40  <td data-column="actions" class="col-actions">
41  <button
42  type="button"
43  class="action-delete"
44  data-role="delete"></button>
45  </td>
46 </tr>
47 </script>
48 <div class="grid-container no-display">
49  <table class="admin__control-table" data-role="grouped-product-grid"
50  data-products="<?= $block->escapeHtml(
51  $this->helper(\Magento\Framework\Json\Helper\Data::class)->jsonEncode($block->getAssociatedProducts())
52  ); ?>">
53  <thead>
54  <tr class="headings">
55  <th data-column="info" class="col-draggable no-link col-info">
56  <span></span>
57  </th>
58  <th data-column="name" class="no-link col-name">
59  <span><?= /* @escapeNotVerified */ __('Name') ?></span>
60  </th>
61  <th data-column="sku" class="no-link col-sku">
62  <span><?= /* @escapeNotVerified */ __('SKU') ?></span>
63  </th>
64  <th data-column="price" class="no-link col-price">
65  <span><?= /* @escapeNotVerified */ __('Price') ?></span>
66  </th>
67  <th data-column="qty" class="no-link col-qty">
68  <span><?= /* @escapeNotVerified */ __('Default Qty') ?></span>
69  </th>
70  <th data-column="actions" class="last no-link col-actions">
71  <span></span>
72  </th>
73  </tr>
74  </thead>
75  <tbody></tbody>
76  </table>
77 </div>
$block setTitle( 'CMS Block Title') -> setIdentifier('fixture_block') ->setContent('< h1 >Fixture Block Title</h1 >< a href=" store url</a><p> Config value
Definition: block.php:9
__()
Definition: __.php:13