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

Subtotal does not contain tax?

Started by ripp, June 14, 2013, 08:11:28 am

Previous topic - Next topic

ripp

Hi,

I¨m newbie with konakart. I wonder why "basic version" (no modifications) of konakart does not calculate subtotal correcly? Or should i customize this?

- I set "Display Prices with Tax" to true
- tax is defined to 24% for taxable products
- when i add products to shopping card  ( AddToCartOrWishListBaseAction.addToCart) basketIf shows inc and ex prices correctly
  - getFinalPriceIncTax()  54.5400   = This is correct and it contains tax (24%)
  - getFinalPriceExTax()   43.9800
  - prod.getTaxClassId()   1
  - prod.getTaxCode()      ALV 24%
- OrderTotalMgr.getOrderTotals(OrderIf order, int languageId)
  - order.getSubTotalIncTax() 43.9800     
  - order.getSubTotalExTax()  43.9800 
  - order.getTotalExTax()    48.9800  (Shipping costs 5e added, but not tax?)
  - order.getTotalIncTax()   48.9800
  - order.getTax() return zeroes
  - when i get orders products (OrderProductIf oif[]=order.getOrderProducts )and displaying values it does not shows tax
       oif[0].getFinalPriceExTax()  43.9800
       oif[0].getFinalPriceIncTax() 43.9800
       oif[0].getTax()              0
       oif[0].getTaxRate()          0
  - ((Order) order).calculateTotals and order.setTaxRateObjectArray is not calculate/including tax

     
  Its look like tax's running away? Maybe there going to pub? Or did i miss something?  ;D

ripp

I make more tests. Subtotal is correct after i do checkout.

First in checkout page and after that (in shopping card also) if add any products.

Is this just after server is started?