ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Le Roux" <jacques.le.r...@les7arts.com>
Subject Re: How to set tax info (VAT) as an adjustment into the ecommerce cart?
Date Tue, 21 Dec 2010 14:22:14 GMT

Oops, sorry I have read it too fast. You are right, this is currently missing as outlined
by the "Discounts applied per line" 
section on the wiki page.
A jira and a patch will be apreciated!



From: "Jonatan Soto" <seniledementia@gmail.com>
Thanks Jacques, but I read this thread several times. I understand that now
the prices can be showed with VAT included. What I would like to do when the
cart page is shown is something like this:

Product     |     Adjustments (VAT & others)      |     Price (VAT included)
Product1   |     IVA 18% - 18€                          |        118€
Product2   |     IVA 8% -  8€                            |         108€

                    Total IVA: 26€                               Total: 226€

This is a common practice in Spain. That's why I said I would like to
consider each VAT as an item adjustment, and I think it should be added for
each ShoppingCartItem object. What do you think?

On Tue, Dec 21, 2010 at 1:49 PM, Jacques Le Roux <
jacques.le.roux@les7arts.com> wrote:

> From: "Jonatan Soto" <seniledementia@gmail.com>
>  Sorry, I didn't mention that the VAT percentages has been changed in Spain
>> :)
>> On Tue, Dec 21, 2010 at 1:21 PM, Jonatan Soto <seniledementia@gmail.com
>> >wrote:
>>  Hi,
>>> AFAIK, VAT is retrieved for price display purposes. It doesn't make sense
>>> to add the VAT as an adjustment when an item is added to the cart (as a
>>> ShoppinCartItem adjustment)? Am I wrong or missing something?
> It's now possible to enter prices with VAT included, this is why VAT
> adjustement are created see the link to the thread I just put in the VAT
> wiki page if you need details (technical included if you read the 1st
> message of the thread)
>  The only way I found out to see what VAT is applied is using this method
>>> shoppingCart.getDisplayTaxIncluded(). This method only shows the total
>>> VAT
>>> amount doing some calculations, but it doesn't specify what VAT is
>>> applied.
>>> Somebody from EU can tell me how they show VAT in cart?
>>> BTW, the wiki VAT page should be modified regarding this, recently the
>>> percentages has been changed to 0%, 4%, 8%, 18%, it is OK if I change
>>> them?
> Yes, feel free to update
> Jacques
>  Jonatan Soto


Jonatan Soto

View raw message