Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6727587
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T10:04:01+00:00 2026-05-26T10:04:01+00:00

Recently I’ve found one problem which I can’t solve out. I’ve made shopping cart

  • 0

Recently I’ve found one problem which I can’t solve out. I’ve made shopping cart price rule, which reduces price by 20% when coupon applied. Discount is applied to price of products in cart INCLUDING tax. Shipping has no tax rule. Everything is fine, customer sees notice with correct price, even orders list shows correct price. There’s only one place where I see it wrong – in Order View there’s a field “Items Ordered” and here in Row Total it gives wrong price. It’s ok with Order Totals.

Example:

  • Price inc. tax: 159.00
  • Discount (20%): 31.80
  • Price inc. tax after discount: 127.20
  • Tax (23%): 23.79
  • Total (with shipping): 147.20

  • Row total in Items Ordered: 121.26 (???)

I’ve checked all the tax settings and have no idea what might be wrong and how Magento calculates this. Any ideas?

Btw, my Magento version is 1.5.0.1

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T10:04:02+00:00Added an answer on May 26, 2026 at 10:04 am

    FYI, the place these values are calculated is in:

    app/design/adminhtml/default/default/template/sales/order/view/items/renderer/default.phtml

    This file was fixed in 1.6.1, lines 242/243 were

    $_item->getBaseRowTotal() - $_item->getBaseDiscountAmount() + $_item->getBaseTaxAmount() + $_item->getBaseWeeeTaxAppliedRowAmount(),
    $_item->getRowTotal() - $_item->getDiscountAmount() + $_item->getTaxAmount() + $_item->getWeeeTaxAppliedRowAmount()
    

    and are now

    $_item->getBaseRowTotal() + $_item->getBaseTaxAmount() + $_item->getBaseHiddenTaxAmount() + $_item->getBaseWeeeTaxAppliedRowAmount() - $_item->getBaseDiscountAmount(),
    $_item->getRowTotal() + $_item->getTaxAmount() + $_item->getHiddenTaxAmount() + $_item->getWeeeTaxAppliedRowAmount() - $_item->getDiscountAmount()
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Recently I've faced such problem. I'm working on the application, in which logging is
Recently I had to develop a SharePoint workflow, and I found the experience quite
Recently I discovered a problem on the midas and I fixed it, the problem
Recently, I'm trying to solve all the exercises in CLRS. but there are some
Recently, I came across this one stone kills multiple birds framework - http://phonegap.com/ .
Recently I found about this tool easy_install that help me to easy install additional
Recently I found some simple source code of a bootloader.The following is the simple
Recently I read this Wikipedia article regarding the Dining Philosophers problem but I am
Recently I had a problem. How to disable scrolling in a particular area of
Recently I made a little site and want to rewrite it using ASP.NET MVC.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.