Quantcast
Channel: An authentic perspective
Viewing all articles
Browse latest Browse all 33

Magento getFinalPrice by customer group

$
0
0

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.

The post Magento getFinalPrice by customer group appeared first on An authentic perspective.


Viewing all articles
Browse latest Browse all 33

Trending Articles