cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the value group price of bundled products individually?

SOLVED

How to get the value group price of bundled products individually?

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.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: How to get the value of group price in bundled products?

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. 

View solution in original post

1 REPLY 1

Re: How to get the value of group price in bundled products?

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.