I want to display price range for configurable products instead of the minimal price in category listing.
Magento 2 Configurable Product – Display Price Range in Listing
category-listingconfigurable-productmagento-2.1.9magento2price
category-listingconfigurable-productmagento-2.1.9magento2price
Best Answer
You need to pluginize getProductPrice method.
SR/Stackexchange/etc/frontend/di.xml
SR/Stackexchange/Plugin/Block/Product/ListProduct.php
SR/Stackexchange/view/frontend/templates/product/price/range/price.phtml
Clear Cache.