File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
view/base/templates/product/price Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -162,7 +162,8 @@ protected function filterTierPrices(array $priceList)
162
162
$ qtyCache = [];
163
163
foreach ($ priceList as $ priceKey => $ price ) {
164
164
/* filter price by customer group */
165
- if ($ price ['cust_group ' ] !== $ this ->customerGroup && $ price ['cust_group ' ] !== $ this ->groupManagement ->getAllCustomersGroup ()->getId ()) {
165
+ if ($ price ['cust_group ' ] != $ this ->customerGroup &&
166
+ $ price ['cust_group ' ] != $ this ->groupManagement ->getAllCustomersGroup ()->getId ()) {
166
167
unset($ priceList [$ priceKey ]);
167
168
continue ;
168
169
}
Original file line number Diff line number Diff line change @@ -73,8 +73,8 @@ $product = $block->getSaleableItem();
73
73
);
74
74
?> <?php echo __ ('each ' ) ?>
75
75
<?php if ($ block ->getShowDetailedPrice () !== false ): ?>
76
- <?php echo __ ('and ' ) ?> <strong class="benefit"><?php echo __ ('save ' )?>
77
- <span class="percent tier-<?php echo $ index ?> "><?php echo $ tierPriceModel ->getSavePercent ($ price ['price ' ]) ?> </span>%
76
+ <?php echo __ ('and ' ) ?> <strong class="benefit"><?php echo __ ('save ' )?>
77
+ <span class="percent tier-<?php echo $ index ?> "> <?php echo $ tierPriceModel ->getSavePercent ($ price ['price ' ]) ?> </span>%
78
78
</strong>
79
79
<?php endif ?>
80
80
<?php endif ; ?>
You can’t perform that action at this time.
0 commit comments