Closed (fixed)
Project:
Ubercart 2 VAT support
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Jul 2009 at 07:54 UTC
Updated:
8 Oct 2009 at 10:30 UTC
The VAT Module displays a different price on each of the product pages. In the catalog it displays the sell price entered minus 14% vat (It should just display the sell price cause I enter prices vat inclusive) On node import in the preview pane before you import the products it shows the sell price + 14% vat (again it should only show the sell price) and finally looking at the product it shows the correct price. Now that will be so confusing for customers that see one price here and another there. We are selling doors and the particular one door's price is 8040 but on the catalog it shows 7,052.63 (-14% of 8040)
Comments
Comment #1
vip_sa commentedThe module subtracts the tax when you enter the products with prices inclusive of VAT. Sorry but this module don't work at all and I have to import all of the products again and again and have to enter the prices manually. Isn't it better then to just import all the products and then just add the vat to all of the products? What about if you add a new range?
Comment #2
longwaveSubtracting VAT when entering inclusive prices is by design.
Prices in Ubercart core are always stored free of tax, so when you enter VAT-inclusive prices on node add/edit pages, the module subtracts the tax before saving the data to the database. VAT is then re-applied by uc_vat when a price is displayed, or by the core uc_taxes module when an order is finalised. This is important for accounting purposes so the base price of products is kept the same if the VAT rate ever changes.
You mention importing product data - I haven't tested with any node import modules, so I suspect some kind of incompatibility here - maybe if you switch off "Store owner will enter prices inclusive of VAT" and import your nodes with ex-VAT prices, you can then switch the option back on and everything should work as intended. If you want me to look into this further more detail will be needed about how you are importing products.
Comment #3
vip_sa commentedDo you have to be user/1 when adding products since the vat setting is only available to user/1 although the is a permission for the rest of the roles except they can't see it ???
Comment #4
longwaveYou can be any user when adding products, the VAT settings are store-wide, not per user.
The permission name was a bug, I have instead changed the VAT settings page to use the "configure taxes" permission. This change has been committed to CVS.
Comment #5
vip_sa commentedThank you so very much for replying. I use node import (http://drupal.org/project/node_import) to import products from a csv file. I created a second user after installing the website and called it superadmin and gave it the role of superadmin with all permissions). Then another user was created so that my brother can import the different products from the csv file. I imported a bunch of products as superadmin(role and user) and then he imported a bunch of products as user(role of superadmin). The products I imported displayed the vat correctly but the ones he imported added the tax to some of the products and with other it subtracted the vat. Also it displays the vat wrong in the preview pane so it's very confusing.
So do I need to download a patch or the module again and re install it?
Comment #6
vip_sa commentedThen I move products around within taxonomy terms using views bul operations. Each time I move a product from one taxonomy tern to the next it subtracts the vat and if I move it again it subtracts it again. This is a huge problem for me cause I have thousands of products and I have to move them and I cannot import them again and again if the price changes
Comment #7
longwaveHoping that whatever was going on here has been fixed in the latest release, as I've never been able to reproduce it. Marking as fixed for now.