I recently created a grouped product by going through a tutorial. Everything is working fine except for the fact that, in the front end, the text "Starting at : $0.00" is set to "$0.00" instead of the associated products' actual minimum price.

How do I resolve this?

  • This should work. Have you refreshed the price index? – Ben Nov 29 '11 at 14:44
  • Yes.. but still i am getting the same $0.00 – balanv Nov 29 '11 at 14:53
  • What version of Magento? – Ben Nov 29 '11 at 15:10
  • Magento ver. – balanv Nov 29 '11 at 15:14

Heh, the old Starting At bug.

Go to one of the individual product items in the group, increase its price by a penny, save and then reduce back to normal price.

This resets the group's Starting At: price.

No amount of reindexing will clear it and usually, it's only one or two Grouped items a month that will fail to update during a price change.

| improve this answer | |

Here is a forum post about this from the Magento forums:

User Lenster provides code for app/design/frontend/[theme]/default/template/catalog/price.phtml that shows the first price from the set of group items as the starting price.

<?php else: /* if (!$_product->isGrouped()): */ ?>

    <?php if ($this->getDisplayMinimalPrice() && $_minimalPriceValue): ?>
        <div class="price-box">
            <p class="minimal-price">
                <span class="price-label"><?php echo $this->__('Starting at:') ?></span>
                    $pos1_price = 0;
                    $specialprice = 0;
                    $products = $_product->getTypeInstance()->getAssociatedProducts();

                    foreach ($products as $product){
                        $prod_position = $product->getPosition();

                        if ($prod_position == 1):
                            $_exclTax = $product->getPrice();
                            $_inclTax = $product->getPrice();
                            $pos1_price = 1;
                               $specialprice = $product->getSpecialPrice();

                    if (!$pos1_price): 
                        $_exclTax = $_taxHelper->getPrice($_product, $_minimalPriceValue, $includingTax = null);
                        $_inclTax = $_taxHelper->getPrice($_product, $_minimalPriceValue, $includingTax = true);


                    if ($_taxHelper->displayBothPrices()): ?>
                        <span class="price-excluding-tax">
                            <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
                            <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
                                <?php echo $_coreHelper->currency($_exclTax, true, false) ?>
                        <span class="price-including-tax">
                            <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
                            <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
                                <?php echo $_coreHelper->currency($_inclTax, true, false) ?>
                            <?php else: ?>
                                $_showPrice = $_inclTax;
                                   if (!$_taxHelper->displayPriceIncludingTax()) {
                                    $_showPrice = $_exclTax;

                                if ($specialprice): ?>

                                <span class="price">
                                <?php echo $_coreHelper->currency($specialprice,true,false) ?>
                                <BR />
                                <p class="old-price">
                                <span class="price-label"><?php echo $this->__('Was:') ?></span>

                                <?php endif; ?>

                                <span class="price" id="product-minimal-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
                                    <?php echo $_coreHelper->currency($_showPrice, true, false) ?>
                        <?php endif; ?>

    <?php endif; /* if ($this->getDisplayMinimalPrice() && $_minimalPrice): */ ?>
<?php endif; /* if (!$_product->isGrouped()): */ ?>
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.