How to set tax info (VAT) as an adjustment into the ecommerce cart?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

How to set tax info (VAT) as an adjustment into the ecommerce cart?

jonatan soto
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?

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?

--
-----

Jonatan Soto
Reply | Threaded
Open this post in threaded view
|

Re: How to set tax info (VAT) as an adjustment into the ecommerce cart?

jonatan soto
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 <[hidden email]>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?
>
> 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?
>
> --
> -----
>
> Jonatan Soto
>



--
-----

Jonatan Soto
Reply | Threaded
Open this post in threaded view
|

Re: How to set tax info (VAT) as an adjustment into the ecommerce cart?

Jacques Le Roux
Administrator
From: "Jonatan Soto" <[hidden email]>

> 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 <[hidden email]>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


Reply | Threaded
Open this post in threaded view
|

Re: How to set tax info (VAT) as an adjustment into the ecommerce cart?

jonatan soto
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 <
[hidden email]> wrote:

> From: "Jonatan Soto" <[hidden email]>
>
>  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 <[hidden email]
>> >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
Reply | Threaded
Open this post in threaded view
|

Re: How to set tax info (VAT) as an adjustment into the ecommerce cart?

Jacques Le Roux
Administrator
Jonatan,

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!

Thanks

Jacques


From: "Jonatan Soto" <[hidden email]>
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 <
[hidden email]> wrote:

> From: "Jonatan Soto" <[hidden email]>
>
>  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 <[hidden email]
>> >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


Reply | Threaded
Open this post in threaded view
|

Re: How to set tax info (VAT) as an adjustment into the ecommerce cart?

jonatan soto
Thanks again Jacques. You're right, I remember I read this the first times
I've saw this page. Perhaps the word 'discounts' confused me this time and
I conscienceless omitted. Currently working on it.

May I rephrase this to 'adding adjustment/s to ShoppingCartItem'?
To me adjustment is a tax, but I think it can be also a discount, promo, is
that right?


On Tue, Dec 21, 2010 at 3:22 PM, Jacques Le Roux <
[hidden email]> wrote:

> Jonatan,
>
> 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!
>
> Thanks
>
> Jacques
>
>
>
> From: "Jonatan Soto" <[hidden email]>
> 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 <
> [hidden email]> wrote:
>
>  From: "Jonatan Soto" <[hidden email]>
>>
>>  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 <[hidden email]
>>> >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
>
>
>


--
-----

Jonatan Soto
Reply | Threaded
Open this post in threaded view
|

Re: How to set tax info (VAT) as an adjustment into the ecommerce cart?

Jacques Le Roux
Administrator
Jonatan Soto wrote:
> Thanks again Jacques. You're right, I remember I read this the first times
> I've saw this page. Perhaps the word 'discounts' confused me this time and
> I conscienceless omitted. Currently working on it.
>
> May I rephrase this to 'adding adjustment/s to ShoppingCartItem'?
> To me adjustment is a tax, but I think it can be also a discount, promo, is
> that right?

Correct, see OrderAdjustmentType Entity in demo data

Looking forward for this new VAT feature

Jacques

>
> On Tue, Dec 21, 2010 at 3:22 PM, Jacques Le Roux <
> [hidden email]> wrote:
>
>> Jonatan,
>>
>> 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!
>>
>> Thanks
>>
>> Jacques
>>
>>
>>
>> From: "Jonatan Soto" <[hidden email]>
>> 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 <
>> [hidden email]> wrote:
>>
>>  From: "Jonatan Soto" <[hidden email]>
>>>
>>>  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 <[hidden email]
>>>>> 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