Closed (fixed)
Project:
Basic Cart
Version:
7.x-2.0-beta1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
14 May 2012 at 11:48 UTC
Updated:
9 Sep 2012 at 20:01 UTC
It would be great to add VAT value (%) in configuration page, show it in product page and also possibility to show total VAT in checkout page.
Comments
Comment #1
alex dicianu commentedYes it would :)
The problem with VAT, and I'm by any means not an expert on this, is that it's different based on the country the purchase is made in http://en.wikipedia.org/wiki/Value_added_tax#Tax_rates. So by adding the VAT, a geolocation must be done in order to apply the right VAT (usualy the credit card processors use geolocation, I think there is a legislation somewhere indicating this).
So I'm afraid that, by implementing this, this module would no longer be "Basic Cart" but more complicated cart.
A simpler and faster solution would be to implement payment methods like paypal, google checkout, etc. This way we let them handle the VAT tax.
Comment #2
ctrnz commentedI was thinking about VAT as static single value in config page so you can show it for informative purposes.
That's for sure makes Basic cart more complicated but this options might be optional for those who do not need it.
Comment #3
ctrnz commentedI did some easy workaround regarding VAT value.
Added Computed field to content type which will take care of VAT value.
PHP section looks like this (i know it's not very pretty)
$entity_field[0]['value'] = $entity->price[LANGUAGE_NONE][0]['value']*0.22;0.22 should be replaced with VAT value.
After this all you should do is theming.
Comment #4
dtrdewaele commentedI'll try to implement this.
Comment #5
alex dicianu commentedFixed on the 7.x-2.0-beta2 release.