Just wondering if anybody can help me, we are developing a website which has a few grouped items.
I can get the group product total by using the following.
The issue is that it doesn't pull the QTY to if the group has a simple product set to 2 it still return the total as being 1.PHP Code:<?php
$sum = 0;
$products = $_product->getTypeInstance()->getAssociatedProducts();
foreach ($products as $product){
$sum += $product->getPrice();
}
?>
<span class="price"><?php echo $this->__('') . $_coreHelper->currency($sum, true, false); ?></span>




Reply With Quote

