Please help me this task I don't know how to implement this task.The below screenshot is my requirement.
you can use this code to get MSRP in List Page
if( $_product->getMsrp()){
$msrpPrice = $_product->getMsrp();
echo "<div class='price-box'>
<span class='old-price'>
<span class='price-container price-final_price tax weee'>
<span class='price-label'>Retail</span>
<span id='old-price-1' class='price-wrapper'><span class='price'>".$this->helper('Magento\Framework\Pricing\Helper\Data')->currency($_product->getMsrp())."</span></span>
</span>
</span>
</div>";
}
-
Hi @ Aravind, Can you please send me file path.Can you please help me. – Dileep Kumar Mar 14 '18 at 11:42
-
-
-
-
Hi @ Aravind, This is my file path adding your code:C:\xampp7.0\htdocs\magento2\vendor\magento\module-catalog\view\frontend\templates\product\list.phtml Can you please help me? – Dileep Kumar Mar 15 '18 at 8:41
check below link for MSRP Price
https://www.mageplaza.com/kb/how-to-configure-minimum-advertised-price-map-in-magento-2.html
-
Hi @ Aravind, I have followed your link but it doesn't display.Can you please help me? – Dileep Kumar Mar 14 '18 at 10:56
-
-
Hi @ Aravind, In list.phtml file adding your code it is not working.Can you please help me? – Dileep Kumar Mar 16 '18 at 4:49