VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Andrew on November 19, 2018, 22:26:16 PM

Title: Change Address_1 Field type to multiline instead of Text Field
Post by: Andrew on November 19, 2018, 22:26:16 PM
Hi. On my Virtuemart 3.4.2, joomla 3.9 site, I want to change the Address Field (Address_1) to a multiline field instead of just a one line text field. If I edit it under Shopper Fields, I can see that it is Text Field but can't edit it. Would it work if I create a new field and call it the same name? Site is live and don't want to muck it up! The reason I need to change it is that we are using a drop ship warehouse that can't handle the second address line. It is coming through but not printed on the label.
Thanks for any help
Andrew
Title: Re: Change Address_1 Field type to multiline instead of Text Field
Post by: GJC Web Design on November 19, 2018, 22:37:24 PM
if u delete a shopper field it is renamed in the table -- when u make a new same named it will create a new column

is prob easier to change directly in the table to textarea

#__virtuemart_userfields

u need to check how the multiline saves as well
Title: Re: Change Address_1 Field type to multiline instead of Text Field
Post by: Andrew on November 19, 2018, 22:44:58 PM
Thanks John!
Title: Re: Change Address_1 Field type to multiline instead of Text Field
Post by: Andrew on November 20, 2018, 22:39:41 PM
I did have a prob when I unpublished the address 2 field. Users couldn't register any more. Have published it and hidden it. Works fine now.