We sacrifice by not doing any other technology, so that you get the best of Magento.

We sacrifice by not doing any other technology, so that you get the best of Magento.

    By default Magento bundle product display min price on the listing page and full price on the product page.

    Today I’m sharing you the list page to show the same price as the product page because it’s confusing for customers when they see the different prices.

    You have to override below file in your appropriate theme:

    app/design/frontend/base/default/template/bundle/catalog/product/price.phtml

    Then put below code after:

    $_priceModel  = $_product->getPriceModel(); [around line no. 45]
    $product = Mage::getModel('catalog/product')->setStoreId(Mage::app()->getStore()->getId())->load($_product->getId());
    $collection = $product->getTypeInstance(true)
        ->getSelectionsCollection($product->getTypeInstance(true)->getOptionsIds($product), $product);
     $totalPriceArray = [];
     foreach ($collection as $item) {
        $price = $_product->getPriceModel()->getSelectionPreFinalPrice($_product, $item, $item->getQty());
        $priceTax    = $_taxHelper->getPrice($item, $price);
        $formated = $priceTax;
        $totalPriceArray[] = $formated; 
     }
    $finalPrice = array_sum($totalPriceArray);

    Now replace the current price variable to $finalPrice [like $_minimalPriceTax its depend on tax settings you have to find excet condition which is a call for your list page]

    For example, I am replacing below line:

    Old Line : <?php echo $_coreHelper->currency($_minimalPriceTax) ?>
    Replace Line: <?php echo $_coreHelper->currency($finalPrice) ?>

    Now reload your list page and see price should be the same as like product page.

    field_5bfb909c5ccae

      Get a Free Quote