VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: hk on May 07, 2014, 17:50:36 PM

Title: Edit Address - State info
Post by: hk on May 07, 2014, 17:50:36 PM
Hi,

Using VM 2.0.26d

I have registered an user by selecting Country: United Kingdom and State: Northern Ireland
Everything shows correctly in the Cart page.

In Cart page, I selected Add/Edit billing address information, selected Country as Turkey, State showed - Select -, as there were no states associated with Turkey. After clicking Save, the Cart page showed Country as Turkey and State as Northern Ireland, which is incorrect.

Once the user has selected a Country which has States and then changes to a Country which doesn't have States, the State value of previous country is used. This needs to be correct, not sure if this is a bug.

Any assistance would be highly appreciated.
Title: Re: Edit Address - State info
Post by: GJC Web Design on May 07, 2014, 18:17:32 PM
This isn't normal behaviour - std VM State selection works fine

But without a live url no one can help you...
Title: Re: Edit Address - State info
Post by: hk on May 07, 2014, 18:31:10 PM
I have sent you URL and credentials in PM.
Title: Re: Edit Address - State info
Post by: GJC Web Design on May 07, 2014, 18:32:05 PM
Sorry - doesn't work like that - I help when I can - but if you want to employ me then......
Title: Re: Edit Address - State info
Post by: jenkinhill on May 07, 2014, 20:21:07 PM
ISTR the state issue was fixed for VM2.6 - http://virtuemart.net/news/latest-news/456-virtuemart-are-proud-to-release-vm2-6
Title: Re: Edit Address - State info
Post by: hk on May 08, 2014, 11:53:09 AM
I tried VM 2.6 version. The issue still exists in that version.
Title: Re: Edit Address - State info
Post by: jenkinhill on May 08, 2014, 12:17:59 PM
I just tested this on the latest version, VM2.6a with default templates, and the billing state is not carried over to the shipping address when set for a country without states. It remains in the order as Please select.

Are you using a third party VM template/checkout?
Title: Re: Edit Address - State info
Post by: hk on May 08, 2014, 12:42:36 PM
Hi jenkinhill,

I'm not using any other template or module.
Just installed a fresh VM 2.6.0

As you said, after selecting a Country which doesn't have States, it shows --Select--. Can you save that and go to Cart page to see whether it is reflecting correctly.

Attached is the snapshot for your reference.

I will PM the site URL and credentials.


[attachment cleanup by admin]
Title: Re: Edit Address - State info
Post by: hk on May 17, 2014, 09:09:19 AM
Hi,

Can you please let me know whether it works fine for you or not.

Thanks.
Title: Re: Edit Address - State info
Post by: PlayerUp.com on May 17, 2014, 20:10:36 PM
Nevermind figured it out

http://www.playerup.com/accounts/clashofclansaccounts (http://www.playerup.com/accounts/clashofclansaccounts)
http://www.playerup.com/accounts/gameofwaraccounts (http://www.playerup.com/accounts/gameofwaraccounts)
http://www.playerup.com/accounts/castleclashaccount (http://www.playerup.com/accounts/castleclashaccount)
Title: Re: Edit Address - State info
Post by: hk on May 28, 2014, 18:21:41 PM
Please advise on the below post.
Thanks.

Quote from: hk on May 08, 2014, 12:42:36 PM
Hi jenkinhill,

I'm not using any other template or module.
Just installed a fresh VM 2.6.0

As you said, after selecting a Country which doesn't have States, it shows --Select--. Can you save that and go to Cart page to see whether it is reflecting correctly.

Attached is the snapshot for your reference.

I will PM the site URL and credentials.

Title: Re: Edit Address - State info
Post by: hk on May 30, 2014, 12:05:26 PM
If I make the State field as Not Required, everything works fine.
However, if State field is marked as Required, it is a bug.