VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: sohopros on April 15, 2016, 10:55:14 AM

Title: Issue with "Add/Edit shipment address" at the bottom of my account page
Post by: sohopros on April 15, 2016, 10:55:14 AM
Hi,

I have gone through the site http://www.folch33.devsoho.com/, clicked on the "Create Account" link and filled all the required fields with
a. 'Country *' ==> "Latvia"
b. 'State / Province / Region ' ==> As it has no states even though it has  representing as mandatory but it is not a mandatory field for those countries which are not having states

Registration completed perfect so far.

Now am clicking on the "Add/Edit shipment address" at the bottom of my account page and filling the same details as i have filled while creating the account.
But here 'State / Province / Region *' field is acting as manadatory field eventhough country "Latvia" has no states.

Please suggest the solution for this.

Thanks,
Sandra
Title: Re: Issue with "Add/Edit shipment address" at the bottom of my account page
Post by: jenkinhill on April 15, 2016, 11:49:57 AM
http://forum.virtuemart.net/index.php?topic=79799.0 !!

Edit virtuemart_state_id shopper field in config to make it unrequired.
Title: Re: Issue with "Add/Edit shipment address" at the bottom of my account page
Post by: sohopros on April 15, 2016, 12:26:46 PM
When we made these changes. And now "State / Province / Region" are not required. But we would like let "Country" is required but "State / Province / Region"  is not when there is not ""State / Province / Region".

Joomla 3.5.1
Virtuemart 3.0.16
PHP version 5.5.30

Please advise,
Sandra
Title: Re: Issue with "Add/Edit shipment address" at the bottom of my account page
Post by: sohopros on April 18, 2016, 11:58:30 AM
Any suggestions?

-Sandra
Title: Re: Issue with "Add/Edit shipment address" at the bottom of my account page
Post by: sohopros on April 21, 2016, 10:17:39 AM
Anyone?
Any advise would be helpful.  :-\

Thanks,
Sandra
Title: Re: Issue with "Add/Edit shipment address" at the bottom of my account page
Post by: GJC Web Design on April 21, 2016, 13:56:21 PM
make country required / states not

if you want states required IF they are present then this would need to be coded I think

(although I thought that was how it worked?)