- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2018
09:48 AM
12-28-2018
09:48 AM
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.
Labels:
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2018
11:44 AM
12-28-2018
11:44 AM
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.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2018
11:44 AM
12-28-2018
11:44 AM
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.