Hi, in Ubercart, when I enter my information, next time I can pick them up in a popup menu (saved address), is it possible to have VAT number stored as well? Thanx (originally saved in uc_vat issues, but it belongs here I hope)
Hi, in Ubercart, when I enter my information, next time I can pick them up in a popup menu (saved address), is it possible to have VAT number stored as well? Thanx (originally saved in uc_vat issues, but it belongs here I hope)
Comments
Comment #1
wjroes commentedI am surprised nobody else is requesting this. Or I must be missing something completely. Let me support this request with a use case.
In my shop prices in general are shown including VAT. My customers can be either professionals or end-customers. For b2b within EU, well, you know how it works..., VAT is 0%. For end-customers VAT is applicable and so is the case for b2b customers that do not (want to) fill in their VAT number.
For my returning (and registered) customers I would like to show the prices (in the shop and in the cart) with the correct VAT applied. I cannot get the VAT information from the order since that does not exist at that time. The most logical place to store the VAT number would be the uc_address in my opinion. It should then be integrated in the address_checkout_pane as well to be honest.
How do you guys see and handle the VAT pricing before an order is placed?
Willem
Comment #2
megachrizHi wjroes,
Do you mean you want to save a vat number together with a Ubercart Addresses address? The module Extra Fields Pane (which I'm co-maintainer of) allows you to add address fields. The intention of that module is to have full integration with Ubercart Addresses, but at the moment the integration is not complete, because of missing hooks in Ubercart Addresses. Maybe you want to help?
http://drupal.org/project/uc_extra_fields_pane
Comment #3
vantuykom commentedI need the same, uc_extra_fields_pane is not an option because it does not check for valid vat-number
Comment #4
Robert S commented+1
Comment #5
timmetj commentedAny progress on adding the VAT number to the uc_addresses module? So it can be stored and prefilled in the billing address.
Comment #6
megachriz@timmetj
Are you a developer? Freixas and I are working on a new version of Ubercart Addresses (for Drupal 6) which will get a better API and with that API it should be easier to attach something like a VAT number to an address. Maybe you want to help getting this version ready?
(Note: The code base we currently have is not public available yet, because it's not yet operational and because we are still working out how the API should look like)
Comment #7
JayP commentedI am using uc_vat_number to verify the VAT number of professional customers but it would be nice to have the ability for users to store their VAT number in addresses and have the uc_vat_number module retrieve the VAT number from there, so it can be verified upon checkout. Any help or suggestions?
Comment #8
megachrizUbercart Addresses 6.x-2.x and 7.x-1.x allows you to add additional address fields through The field handler API. There is an example module included with the module that tries to demonstrate how to interact with this API.
An other example can be found in Extra Fields Pane 6.x-2.x or 7.x-1.x.
You'll have to figure out yourself how to connect any additional address field with the uc_vat_number module, though.