helper = $helper; } public function aroundRenderPriceString( \Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Option $subject, \Closure $proceed, $selection, $includeContainer = true ) { if ($this->helper->isNeedHideProduct($subject->getProduct())) { return ''; } return $proceed($selection, $includeContainer); } /** * remove + symbal * @param \Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Option $subject * @param $result * @return mixed */ public function afterGetSelectionTitlePrice( \Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Option $subject, $result ) { $result = str_replace('+', '', $result); return $result; } }