[ 
http://issues.apache.org/jira/browse/OFBIZ-113?page=comments#action_12428557 ] 
            
David E. Jones commented on OFBIZ-113:
--------------------------------------

Interesting... It looks like this part of ShoppingCartItem was updated to use 
the new displayPrice and such, but didn't go the last step to setting the flag 
to get the VAT added into the display price (and left out of the base price so 
that in the final order it will be split appropriately).

The big trick with this, related to what you're saying about the shipping 
address and such, is that the actualy tax adjustment is added in once we know 
the address and not before, just in case it will go outside of the VAT 
jurisdiction or other taxes might be involved or whatever.

It should be possible though to make a change to the shopping cart page to show 
the total with tax included, ie have it be based on the display price and not 
on the base price. Of course, then we need to make sure that when the tax 
adjustment is put in place that it is not added in twice.

Okay, this ShoppingCartItem change is now in SVN, rev 432121.


> Showing VAT/Sales tax in Shopping cart before checkout
> ------------------------------------------------------
>
>                 Key: OFBIZ-113
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-113
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>          Components: ecommerce, order
>    Affects Versions: SVN trunk
>            Reporter: Eriks Dobelis
>
> VAT/Sales tax is currently calculated only after initiating Checkout. Even if 
> the price in ecommerce catalog includes tax, shopping cart shows price 
> without tax. It would be nice if Shopping cart showed the same price as in 
> ecommerce catalog and instantly calculated total tax when a new product is 
> added to Shopping cart.
> I tried to look into source code and seems this has to be changed in 
> ShoppingCart.java, but it also seems quite complex issue.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to