VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: MoreBlue on September 23, 2020, 17:45:18 PM

Title: Problem with registration form
Post by: MoreBlue on September 23, 2020, 17:45:18 PM
Hello. I need your help with the problems that occur on the registration form and after.

1- In the registration form, I added another field for the identification number according to the conditions of my country, but I could not find where I could translate this field into English so that it would be seen as a tax number when entered from different countries.

2- In the fields where other information should be entered during the registration, there are "Address Nickname" inscriptions and when the member does not delete the fields that he does not need, these fields appear as "Address Nickname" in the order form.
How can I get this post removed from the registration area?

3- My last problem is that the fields in the post-order registration form are filled with scripts in the shipping address. What can I do to make this not appear too.

Thanks for your help
Title: Re: Problem with registration form
Post by: pinochico on September 23, 2020, 23:24:53 PM
1. You must insert a language constant as the name of the new field and add this constant to the language constant override:
https://www.joomlashack.com/blog/joomla/languge-manager/

2. I don't know exactly, but I think you have a badly set up administration.

An image for analysis would be useful - detail of setting the wrong field
But the reason will probably be different - a mistake in the template?
I would have to see the PHP code of the registration field template in the cart, which is called as a placeholder

3. with scripts? Scripts is piece of code aka Javascript. Really?
I think do you mean the same values as registration form, isn't it?
And what wouldn't the preview be?
Title: Re: Problem with registration form
Post by: GJC Web Design on September 24, 2020, 11:42:24 AM
problem 2.

I have seen on some installs when the ordering is rearranged the default field of all fields gets filled with the first value .. 

check each shopper field and if the default is filled delete the value
Title: Re: Problem with registration form
Post by: pinochico on September 24, 2020, 16:09:34 PM
to GJC Web Design:

Thanks for this info  8)
Title: Re: Problem with registration form
Post by: shenlong2210 on July 06, 2021, 07:51:55 AM
You login virtuemart and Shopper Filed,
Click on Items (Name, Adress,...) and edit Default and Placeholder