Magento getFinalPrice by customer group

If you use group pricing you will find that getFinalPrice does not return the correct price.

This is easy to correct by adding

$product->setCustomerGroupId(0);

Before calling getFinalPrice(); 0 being the default customer group or replace with the group of your choice.

2 thoughts on “Magento getFinalPrice by customer group”

  1. Hello thank you for your example i have only problem why still returning the GENERAL Customer Group even –> Group ID (5) is vip-person.

    $product = Mage::getModel(‘catalog/product’)->load($ourProductId);
    $product->setCustomerGroupId(5);
    $priceown = $product->getFinalPrice();

    Still the Return value is the general price ?

    I hope you can help me thanks

Leave a Reply

Your email address will not be published. Required fields are marked *