Author Topic: Required shopperfield based on choises  (Read 722 times)

welrachid

  • Jr. Member
  • **
  • Posts: 260
  • 3rd party plugin developer
  • Skype Name: wel.rachid
  • VirtueMart Version: Always LATEST stable
Required shopperfield based on choises
« 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?
Best regards,
Wel

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9842
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Required shopperfield based on choises
« Reply #1 on: May 11, 2015, 16:36:55 pm »
textinputplugin? combined with generic child?
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

welrachid

  • Jr. Member
  • **
  • Posts: 260
  • 3rd party plugin developer
  • Skype Name: wel.rachid
  • VirtueMart Version: Always LATEST stable
Re: Required shopperfield based on choises
« Reply #2 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
Best regards,
Wel

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9842
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Required shopperfield based on choises
« Reply #3 on: May 11, 2015, 16:49:12 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

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
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

welrachid

  • Jr. Member
  • **
  • Posts: 260
  • 3rd party plugin developer
  • Skype Name: wel.rachid
  • VirtueMart Version: Always LATEST stable
Re: Required shopperfield based on choises
« Reply #4 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 ?
Best regards,
Wel