Skip to content

Commit

Permalink
sets shouldAddPriceDetails method for #210
Browse files Browse the repository at this point in the history
Because:
- allow modification for other modules via plugin
  • Loading branch information
SimonCloudy committed Sep 2, 2022
1 parent f60ffeb commit 8c1b2af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Plugin/Pricing/AddPriceDetailsPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8c1b2af

Please sign in to comment.