I have a custom computation to get the value of the discounted price of each product. My computation is good for bundled products with a group price (percent discount) that is set on the child product but my code is not working if the group price (percent discount) is set on the bundled products.
can anyone tell me how to get the group price in bundled products?
Advance thank you for the help.
Solved! Go to Solution.
Here's The solution I got.
$customerID = Mage::getSingleton('customer/session')->getCustomerGroupId(); $groupPrice = $product->getData('group_price'); $customerGP = $groupPrice[$customerID]['price'];
The $customerGP is the group price.
Here's The solution I got.
$customerID = Mage::getSingleton('customer/session')->getCustomerGroupId(); $groupPrice = $product->getData('group_price'); $customerGP = $groupPrice[$customerID]['price'];
The $customerGP is the group price.