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 9256155
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T11:52:30+00:00 2026-06-18T11:52:30+00:00

We run a Magento Based e-commerce site. It is running Magento Enterprise 1.10. We

  • 0

We run a Magento Based e-commerce site. It is running Magento Enterprise 1.10.

We are in the UK – so we like to show all prices inclusive of Tax(VAT). Our store is set up with Prices entered inclusive of VAT, and Magento back-calculates the VAT at the checkout.

The site uses the built in enterprise Reward points functionality, and offers customers 10 points for every £1 they spend.

Displaying reward points (currently using the function “echo $this->getRewardPoints()” in the catalog and basket) shows the reward points inclusive of tax (so £15 = 150 points) but in the checkout, using the same function to show potential points for an item calculates the reward points on the item minus tax (so £15 = 120 points).

When the order is placed, the reward points are added to the customers account Minus the tax. This is obviously confusing for the users.

As a temporary measure I have stopped showing the incorrect points amount on the

We are looking to either:

a) Get Magento to always display points inclusive of VAT – and add the correct amount of points when an order is placed (and leave the points – pounds ratio as is)
b) Get Magento to always display and add points excluding VAT – and hence we would put the points – pounds ratio up to compensate.

Any help or pointers on this would be greatly appreciated.

  • 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-06-18T11:52:31+00:00Added an answer on June 18, 2026 at 11:52 am

    I had a client that needed this too, so I wrote a custom module that overrides the function that calculates the rewards only on pre-tax, to allow it to calculate on price + tax too. I just added a new option to the rewards configuration area to allow calculation including tax yes or no.

    Don’t want to go through the process of describing how to create a custom module (there’s plenty of resources for that), but the actual function that does the calculation is in this file:
    code/core/enterprise/reward/model/action/OrderExtra.php

    If you want to do it quick and dirty, find the getPoints function and change the $monetaryAmount calculation to be (if there is a $quote):

    $monetaryAmount = $quote->getBaseGrandTotal() - $address->getBaseShippingAmount();
    

    and (if no $quote)

    $monetaryAmount = $this->getEntity()->getBaseTotalPaid() - $this->getEntity()->getBaseShippingAmount();
    

    Hope that helps!

    EDIT: The actual code from the getPoints function should look something like this:

    if ($this->_quote) {
            $quote = $this->_quote;
            // known issue: no support for multishipping quote
            $address = $quote->getIsVirtual() ? $quote->getBillingAddress() : $quote->getShippingAddress();
            // use only money customer spend - shipping & tax
            $monetaryAmount = $quote->getBaseGrandTotal() - $address->getBaseShippingAmount();
    
            // *****CALCULATE POINTS INCLUDING TAX
            $monetaryAmount -= $address->getBaseTaxAmount();
    
            // set points to 0 if calcualtion is negative
            $monetaryAmount = $monetaryAmount < 0 ? 0 : $monetaryAmount;
        } else {
          // use only money customer spend - shipping
            $monetaryAmount = $this->getEntity()->getBaseTotalPaid() - $this->getEntity()->getBaseShippingAmount();
    
            // *****CALCULATE POINTS INCLUDING TAX
            $monetaryAmount -= $this->getEntity()->getBaseTaxAmount();
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to run a copy of one of our Magento installations on my
Local magento installation is redirecting me to our live test site rather than utilizing
We work on the Magento platform and our front-end developers all work on the
I've been having some site problems while developing and decided to run the magento-check.php
On our Magento 1.5.0.1 I wrote a PHP script to update all of our
In the process of upgrading a pre-1.4 Magento site to version 1.4.1.2, I've run
I've run the Magento upgrade from 1.5 to 1.7 a couple times on my
I am working with the magento api and I have run into a bit
I am in the process of optimizing magento store, and I've run across a
I need to run some SQL to clear some custom tables in Magento when

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.