commerce icon indicating copy to clipboard operation
commerce copied to clipboard

[3.x]: State field not populating on new order

Open john-henry opened this issue 2 years ago • 1 comments

What happened?

Description

For new orders, in Craft Commerce State field fails to populate when the country is chosen. It's just a plain text field a client has to manually add a state ID for it to work correctly

The state dropdown appears everywhere else it is supposed to

The attached screenshot is from me creating a new order. Finding an existing customer and editing their address

Image 2023-08-24 at 4 46 33 PM

Craft CMS version

3.8.15

Craft Commerce version

3.4.22.1

PHP version

8.1.20

Operating system and version

Linux 4.14.320-242.534.amzn2.x86_64

Database type and version

MySQL 5.7.42

Image driver and version

Imagick 3.6.0 (ImageMagick 6.9.11-60)

Installed plugins and versions

Amazon S3 1.3.2 AsyncQueue 2.3.0 Craft Commerce 3.4.22.1 Default Dashboard 1.0.8 Eager Beaver 1.0.5 Element Map 1.2.1 Embedded Assets 2.11.4 Embedded Assets Link 1.0.3 Empty Coalesce 1.0.6 Environment Label 3.2.0 Expanded Singles 1.2.0 Feed Me 4.7.0 ImageOptimize 1.6.51 Image Resizer 2.2.0 Linkit 3.0.4.1 LJ Dynamic Fields 3.0.12 Minify 1.2.11 Mix 1.5.2 Postie 2.4.22 reCAPTCHA 1.5.3 Redactor 2.10.12 Redactor Custom Styles 3.0.4 Redirect Manager 1.1.1 Scout 2.7.2 SendGrid 1.3.1 SEOmatic 3.4.57 Simple Text 2.0.2 Sprout Email 4.4.10 Sprout Reports 1.5.14 Stripe for Craft Commerce 2.4.4.1 Super Table 2.7.5.1 Tags 1.0.9 Twigpack 1.2.17 Wishlist 1.4.18

john-henry avatar Aug 24 '23 15:08 john-henry

Hi @john-henry

Thank you for reporting this, unfortunately, I am unable to replicate the issue you mentioned.

Here is a video of my experience with the latest v3 versions of Craft and Commerce:

https://github.com/craftcms/commerce/assets/266453/214a446a-a6a4-488c-b261-894825f35ab0

If you open up developer tools in the browser can you see any errors in the console? Have you tried disabling other plugins to see if it makes any difference?

Thanks

nfourtythree avatar Oct 24 '23 07:10 nfourtythree