File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
app/code/Magento/GroupedProduct/view/frontend/templates/product/view/type
dev/tests/functional/tests/app/Magento/GroupedProduct/Test/Block/Catalog/Product Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 33
33
</thead>
34
34
35
35
<?php if ($ _hasAssociatedProducts ): ?>
36
- <?php foreach ($ _associatedProducts as $ _item ): ?>
37
36
<tbody>
37
+ <?php foreach ($ _associatedProducts as $ _item ): ?>
38
38
<tr>
39
39
<td data-th="<?= $ block ->escapeHtml (__ ('Product Name ' )) ?> " class="col item">
40
40
<strong class="product-item-name"><?= $ block ->escapeHtml ($ _item ->getName ()) ?> </strong>
80
80
</td>
81
81
</tr>
82
82
<?php endif ; ?>
83
- </tbody>
84
83
<?php endforeach ; ?>
84
+ </tbody>
85
85
<?php else : ?>
86
86
<tbody>
87
87
<tr>
Original file line number Diff line number Diff line change @@ -27,14 +27,15 @@ class View extends ParentView
27
27
*
28
28
* @var string
29
29
*/
30
- protected $ formatTierPrice = "//tbody[%row-number%]//ul[contains(@class,'tier')]//*[@class='item'][%line-number%] " ;
30
+ protected $ formatTierPrice =
31
+ "//tr[@class='row-tier-price'][%row-number%]//ul[contains(@class,'tier')]//*[@class='item'][%line-number%] " ;
31
32
32
33
/**
33
34
* This member holds the class name of the special price block.
34
35
*
35
36
* @var string
36
37
*/
37
- protected $ formatSpecialPrice = '//tbody[%row-number%]//*[contains(@class,"price-box")] ' ;
38
+ protected $ formatSpecialPrice = '//tbody//tr [%row-number%]//*[contains(@class,"price-box")] ' ;
38
39
39
40
/**
40
41
* Get grouped product block
You can’t perform that action at this time.
0 commit comments