getPrice() Returns Base Price, Not Final Price
CRITICALProblem
$product->getPrice() returns the base price attribute value only. It does NOT include special prices, tier prices, catalog rules, or customer group pricing.
Impact
Displaying wrong prices to customers. Orders processed at incorrect prices. Financial loss or customer trust issues.
Workaround
// WRONG - Base price only
$price = $product->getPrice();
// CORRECT - Includes all price rules
$price = $product->getFinalPrice();
// BEST - Use pricing framework
$priceInfo = $product->getPriceInfo();
$finalPrice = $priceInfo
->getPrice('final_price')
->getAmount()
->getValue();