/** * Processing calculation of row price for address item * * @param AddressItem|Item $item * @param int $finalPrice * @param int $originalPrice * @return $this */ protected function _calculateRowTotal($item, $finalPrice, $originalPrice) { if (!$originalPrice) { $originalPrice = $finalPrice; } $item->setPrice($finalPrice)->setBaseOriginalPrice($originalPrice); $item->calcRowTotal(); return $this; }