I'm Hiding Price using Plugin. the Plugin is Hiding price for every product except the multi value products. My code is
Vender/Module/Plugin/Price.php
<?php
namespace Vender\Module\Plugin;
class Price
{
function afterToHtml(\Magento\Catalog\Pricing\Render\FinalPriceBox $subject, $result)
{
return " ";
}
}
Vender/Module/etc/di.xml
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/ObjectManager/etc/config.xsd">
<type name="Magento\Catalog\Pricing\Render\FinalPriceBox">
<plugin name="price_hide" type="Vender\Module\Plugin\Price"/>
</type>
</config>
For other Product it shows like
and for the Multi Price Products it shows like
Now How to hide price of multi price product using Plugin.. Thanks in Advance