From 8c1b2afaaf40f0c4949f5917e61bc3bc8abc0592 Mon Sep 17 00:00:00 2001 From: simonwoelki Date: Fri, 2 Sep 2022 09:47:20 +0200 Subject: [PATCH] sets shouldAddPriceDetails method for #210 Because: - allow modification for other modules via plugin --- Plugin/Pricing/AddPriceDetailsPlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugin/Pricing/AddPriceDetailsPlugin.php b/Plugin/Pricing/AddPriceDetailsPlugin.php index 8fa1b07..1f9c6ad 100644 --- a/Plugin/Pricing/AddPriceDetailsPlugin.php +++ b/Plugin/Pricing/AddPriceDetailsPlugin.php @@ -66,7 +66,7 @@ public function afterRender(Render $subject, $result, $priceCode, SaleableInterf * * @return bool */ - private function shouldAddPriceDetails($result, $priceCode, SaleableInterface $saleableItem): bool + public function shouldAddPriceDetails($result, $priceCode, SaleableInterface $saleableItem): bool { if (!$this->helper->getConfigValue(self::ENABLED_DISPLAY_BELOW_PRICE_XML)) { return false;