• Welcome to KonaKart Community Forum. Please login or sign up.
 

OrderTotalIf[] ...but wheres the order total?

Started by asimmons, February 25, 2008, 03:26:44 pm

Previous topic - Next topic

asimmons

I assume this is an array that hold various order total info (i.e. tax, subTotal, total....) but I can figure out which index of the array the order total is. Or am I in the wrong place, I'm just trying to get the orderTotal with tax. I searched everywhere here for info on this, where and how do I get this? ???

pete

To figure out which OrderTotal you are looking at, you use the method getClassName(). If you take a look at the source of all of the order total modules in konakart.bl.modules.ordertotal.* , you'll see that each module sets the className to a unique value. The value for Total.java is "ot_total", and the value for Tax.java is "ot_tax".

Hope this helps.

Pete

asimmons

Ohhhh I see I was looking for this ord.getTotalIncTax(). nevermind

thanks for the fast response.