How to remove decimal from "Order Summary" email template? The Order Summary box is rendered from this email template line:

 {{layout handle="sales_email_order_items" order=$order}}

1 Answer 1


I just did a quick and dirty solution to edit the core files. On class Mage_Sales_Model_Order


public function formatPrice($price, $addBrackets = false)
    return $this->formatPricePrecision($price, 2, $addBrackets); // replace 2 with 0

of course there should be a better way to do this, using rewrite.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.