Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Extracting order total


Recommended Posts

I need to extract the order total so I can do some maths on it. One of my clients donates money to charity with each order that is a percentage of the order total.


I want to display the amount of money this order has raised for charity on the order confirmation page.


I looked through the forums but couldn't find anything then looked through checkout_confirmation.php but the whole of the oder total block is returned by one function (including the formatting not just the amount).


Would it be much different to return the subtotal instead of the total including shipping as I'm sure they'll want whichever one I don't work out how to do.


Any tips appreciated.



Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...