VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: anirudh444 on May 30, 2016, 16:01:47 PM

Title: How to add custom field in Virtuemart User's Registration form
Post by: anirudh444 on May 30, 2016, 16:01:47 PM
I would like to know
How to add custom fields in Virtuemart User's Registration Form which user has to fill before he/she buys the product

Searched on internet for many hour, but doesn't able to figure out which php, xml file needs to be edited and
which is the concern phpmyadmin table/s need updation regarding this

please, if anybody can help me out here

attached is the print screen form of the same

running on
Joomla! 3.5.0 Stable
PHP Version 5.6.16
VirtueMart 3.0.14

with thanks
Anirudh
Title: Re: How to add custom field in Virtuemart User's Registration form
Post by: jenkinhill on May 30, 2016, 16:07:32 PM
Simply add the shopper fields in the Shopper Field List and make them compulsory.
http://docs.virtuemart.net/manual/general-concepts/216-shopperfields.html
Title: Re: How to add custom field in Virtuemart User's Registration form
Post by: anirudh444 on June 01, 2016, 11:57:56 AM
Thank you for the help... it worked

;)Just plug n play. no messing with the files