diff --git a/app/code/Magento/Catalog/Pricing/Price/TierPrice.php b/app/code/Magento/Catalog/Pricing/Price/TierPrice.php index 726d3d05e60f1bd5219b37f1b92cf031bb8da121..1a7e1dcc8c24b27ff0c5f35f71ecb7cd110b3dba 100644 --- a/app/code/Magento/Catalog/Pricing/Price/TierPrice.php +++ b/app/code/Magento/Catalog/Pricing/Price/TierPrice.php @@ -162,7 +162,8 @@ class TierPrice extends AbstractPrice implements TierPriceInterface, BasePricePr $qtyCache = []; foreach ($priceList as $priceKey => $price) { /* filter price by customer group */ - if ($price['cust_group'] !== $this->customerGroup && $price['cust_group'] !== $this->groupManagement->getAllCustomersGroup()->getId()) { + if ($price['cust_group'] != $this->customerGroup && + $price['cust_group'] != $this->groupManagement->getAllCustomersGroup()->getId()) { unset($priceList[$priceKey]); continue; } diff --git a/app/code/Magento/Catalog/view/base/templates/product/price/tier_prices.phtml b/app/code/Magento/Catalog/view/base/templates/product/price/tier_prices.phtml index cdc16dc139e6b9acad27dbd7159f25157ba785c6..466a9519bc67f62f54fc6a1d846677ae7161f5da 100644 --- a/app/code/Magento/Catalog/view/base/templates/product/price/tier_prices.phtml +++ b/app/code/Magento/Catalog/view/base/templates/product/price/tier_prices.phtml @@ -73,8 +73,8 @@ $product = $block->getSaleableItem(); ); ?><?php echo __('each') ?> <?php if ($block->getShowDetailedPrice() !== false): ?> - <?php echo __('and') ?> <strong class="benefit"><?php echo __('save')?> - <span class="percent tier-<?php echo $index ?>"><?php echo $tierPriceModel->getSavePercent($price['price']) ?></span>% + <?php echo __('and') ?> <strong class="benefit"><?php echo __('save')?> + <span class="percent tier-<?php echo $index ?>"> <?php echo $tierPriceModel->getSavePercent($price['price']) ?></span>% </strong> <?php endif ?> <?php endif; ?>