Skip to content

Commit fc6bc8b

Browse files
author
Ilan Parmentier
authored
Adjust table for grouped products
I think there is a mistake here in declaring a tbody tag for every iteration ?
1 parent beb0274 commit fc6bc8b

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/GroupedProduct/view/frontend/templates/product/view/type

1 file changed

+2
-2
lines changed

app/code/Magento/GroupedProduct/view/frontend/templates/product/view/type/grouped.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
</thead>
3434

3535
<?php if ($_hasAssociatedProducts): ?>
36-
<?php foreach ($_associatedProducts as $_item): ?>
3736
<tbody>
37+
<?php foreach ($_associatedProducts as $_item): ?>
3838
<tr>
3939
<td data-th="<?= $block->escapeHtml(__('Product Name')) ?>" class="col item">
4040
<strong class="product-item-name"><?= $block->escapeHtml($_item->getName()) ?></strong>
@@ -80,8 +80,8 @@
8080
</td>
8181
</tr>
8282
<?php endif; ?>
83-
</tbody>
8483
<?php endforeach; ?>
84+
</tbody>
8585
<?php else: ?>
8686
<tbody>
8787
<tr>

0 commit comments

Comments
 (0)