From c2299c71c1cf17d271b637395c507140c436235c Mon Sep 17 00:00:00 2001 From: klg Date: Fri, 22 Feb 2019 09:18:10 +0100 Subject: [PATCH] cleanup --- Helper/Data.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Helper/Data.php b/Helper/Data.php index bad2b5a..eee7fd5 100644 --- a/Helper/Data.php +++ b/Helper/Data.php @@ -150,14 +150,7 @@ public function getTierBasePricesText(Product $product):array */ public function getTierBasePriceText(Product $product, int $tierPriceID): string { - - //$tiers = $product->getTierPrices(); - //$product->getTierPrice(); - // There is no method to get just one tier price based on its ID, so we need to do it this way. foreach ($product->getTierPrice() as $tier) { - //$t2 = $tier->getId(); - // TODO: get the tier price ID to compare against the requested - // $t1 = $tier['price_id']; if( (int) $tier['price_id'] === $tierPriceID) { $basePrice = $this->getBasePrice($product, $tier['price']);