VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: nick2011 on November 20, 2019, 15:34:27 PM

Title: Company vs Private Citizen
Post by: nick2011 on November 20, 2019, 15:34:27 PM
Hello
I'm trying to find a solution to a very simple need:
to have some fields mandatory for a Company (such as VAT ID) and others for a private citizen (such as the fiscal code)

I thought that VM, being one of the most known e-commerce component for Joomla!, was able to do that easily (it's not such a strange need I think)
but after hours of googling I still need to understand HOW.

Can someone please help me?
Thank you in advance
Title: Re: Company vs Private Citizen
Post by: Jörgen on November 20, 2019, 22:15:27 PM
This is quite simple I guess, use this extension:
https://extensions.virtuemart.net/shopper-order/orders/eu-vat-id-checker-detail (https://extensions.virtuemart.net/shopper-order/orders/eu-vat-id-checker-detail)

Jörgen @ Kreativ Fotografi
Title: Re: Company vs Private Citizen
Post by: nick2011 on November 21, 2019, 10:10:20 AM
there's no other way than buying an extension?
this step of the registration should be an included feature of every ecommerce component :(
Title: Re: Company vs Private Citizen
Post by: AH on November 21, 2019, 10:28:39 AM
Quotethis step of the registration should be an included feature of every ecommerce component

That is your opinion, I have seen many free components that do nothing of the sort. 

Quotethere's no other way than buying an extension?

There are definitely other ways, but you would have to learn to code and understand how the system functions, then test your work.  I guess the people building the paid extensions have done that part of the hard work for you and might want to recoup some small payment for their efforts .
Title: Re: Company vs Private Citizen
Post by: jenkinhill on November 21, 2019, 10:46:29 AM
I can't remember any other forum user asking for this registration setup.

As AH mentions there are other ways other than the VAT extension. For example, I would guess that it should be possible with a forms extension (such as Breezing Forms) to construct different user registration forms for VM and copy the data into the VM/Joomla database. I know it can be done with just Joomla registration.
Title: Re: Company vs Private Citizen
Post by: StefanSTS on November 21, 2019, 12:36:44 PM
Normally I don't answer anymore when someone writes a question and does not say what he really wants to do.

But to be polite.

Ask the question in a way so that readers know what is needed, in the above I saw at least three different ways of interpreting your one sentence that was actually pointed towards the topic.

My answer would have been even different and maybe is even what you want for almost no work, but since I have to guess if that is really what you want, I rather spend my time on typing this. Learn to ask questions, answers might just be exactly what you need.

Stefan
Title: Re: Company vs Private Citizen
Post by: GJC Web Design on November 21, 2019, 13:30:34 PM
and it is possible with a bit of html and javascript in theVM  template over ride to show different fields / validation and a couple of buttons to choose which..