API Questions on Kentico API.
Version 6.x > API > E-Commerce process is calculating tax ONLY on shipping View modes: 
User avatar
Member
Member
iLoveCookies - 3/29/2012 10:53:46 AM
   
E-Commerce process is calculating tax ONLY on shipping
I've been looking through forums forever to find an answer, but can't find anything. I'm working for a company who uses Kentico 6.0. I am looking into a site that was created before I got here, but was not completely functional. I had to scrap the old shopping cart and am using the default shopping cart parts in Kentico for now. Upon doing this, I noticed that the tax being applied is only being applied to shipping.

Question -

1: is there anything that would cause this other than someone messing around with the module code?

2: If I needed to edit one of the modules to solve this problem, which one would it be?

I have been through the information on how to create a shopping cart from top to bottom. Need some ideas/suggestion/help please!!

User avatar
Member
Member
iLoveCookies - 3/30/2012 7:54:15 AM
   
RE:E-Commerce process is calculating tax ONLY on shipping
Nevermind. I figured it out. I didn't realize that the shipping option had its own tax class. With all the forums about people having to finagle with code to make the shipping "taxable" the issue seemed more involved. Hope this helps someone else in the future who might be new to Kentico.

User avatar
Member
Member
magnus-tenk - 6/29/2012 5:16:14 PM
   
RE:E-Commerce process is calculating tax ONLY on shipping
Just as a side note (more in the direction of Kentico) on the subject on shipping tax.

Things turned out to be somewhat more complicated here in Sweden. Here, tax on shipping should be calculated as a proportion of the TaxPercentage and Value of each item sold. Like this :

10 Books = 650 SEK at 6% tax
1 Letter Opener = 350 SEK at 25% tax
Total Price = 1000 SEK

Shipping 100 SEK
Shipping Tax = 650/1000*100*6% + 350/1000*100*25% = 12.65 SEK

If this method is used in other countries, perhaps Kentico could add a ShippingTax method named something along the lines of ItemValueAndTaxRateProportional
(Dear Kentico Dev. I have implemented this myself already, so no need to break a sweat on this, it's just a FYI :-)

/Magnus


User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 7/3/2012 9:39:30 PM
   
RE:E-Commerce process is calculating tax ONLY on shipping
Hi,

I will create a requirement to add this functionality to one of next versions.

Thank you for suggestion.

Best regards,
Ivana Tomanickova

User avatar
Member
Member
magnus-tenk - 7/9/2012 3:04:02 PM
   
RE:E-Commerce process is calculating tax ONLY on shipping
I will add one more thing then, for the devs to think about if they expand on this feature. This is with the same caveat as before, this is valid for Sweden, I don't know about the rest of Europe/World.

When shipping COD the fee for this will inherit the tax-rate from the shipping tax calculation. In essense a, paymentType-dependent shipping-fee

To include Commerce in the CMS is in a way to open the Pandora Box of feature requests, as you might have noticed. It's a good thing you have made the system easily extensible.

/Magnus

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 7/11/2012 11:36:08 AM
   
RE:E-Commerce process is calculating tax ONLY on shipping
Hi,

I updated the requirement.

Thank you for it.

Best regards,
Ivana Tomanickova