VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: welrachid on May 11, 2015, 15:18:31 PM

Title: Required shopperfield based on choises
Post by: welrachid on May 11, 2015, 15:18:31 PM
Hi
i want to require that shoppers fill out some extra info if they choose something from a radio shopperfield. Is this a limitation of VM or is it actually possible?
Title: Re: Required shopperfield based on choises
Post by: Milbo on May 11, 2015, 16:36:55 PM
textinputplugin? combined with generic child?
Title: Re: Required shopperfield based on choises
Post by: welrachid on May 11, 2015, 16:44:36 PM
Hi Milbo
Thanks for your reply.

Actually its not with regard to the product they shop.
Its more like being a company requires you enter a VAT number, or being a big company requires you to enter a EAN number (so that bookkeeper can make the correct info at once)

Also that being a company gives you the ability the use a certain shipmentmodule.

I thought i could do this by shoppergroups but "guest" users cannot change their shopper group and also i cannot differentiate shopperfields based on shoppergroup?

thanks
Title: Re: Required shopperfield based on choises
Post by: Milbo on May 11, 2015, 16:49:12 PM
Quote from: welrachid on May 11, 2015, 16:44:36 PM
Its more like being a company requires you enter a VAT number,
or being a big company requires you to enter a EAN number (so that bookkeeper can make the correct info at once)
http://extensions.virtuemart.net/vm-orders/eu-vat-id-checker-detail

Quote from: welrachid on May 11, 2015, 16:44:36 PM
I thought i could do this by shoppergroups but "guest" users cannot change their shopper group and also i cannot differentiate shopperfields based on shoppergroup?

a plugin can also give guests a group, see my euvatid plugin
Title: Re: Required shopperfield based on choises
Post by: welrachid on May 11, 2015, 21:32:49 PM
Okay but can your plugin make some fields required if shopper is company? For example, forcing shopper to fill out extra info (contact person, department, whatever)
I am currently using virtueplanets OPC - do you have any knowledge if it will "work" together ?