News:

Looking for documentation? Take a look on our wiki

Main Menu

Issue with "Add/Edit shipment address" at the bottom of my account page

Started by sohopros, April 15, 2016, 10:55:14 AM

Previous topic - Next topic

sohopros

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

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

sohopros

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


sohopros


GJC Web Design

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?)
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation