Unable to select country in new address field ERPNext 14.1.2 e-commerce And also Razorpay Payment gateway not working

Unable to select country in new address field ERPNext 14.1.2 e-commerce
And also Razorpay Payment gateway not working.

1 Like

Hi, @netmanthan have you found a work around to this issue with selecting Country?

1 Like

Not yet

Solutions not found in
ERPNext: v14.2.3 (version-14)
Frappe Framework: v14.10.0 (version-14)

Still awaiting for solutions, if anyone know about this kindly help.

Just found a work-around, it’s not perfect but does the trick. I made it work by changing the fieldtype from ‘Link’ to ‘Data’ in /templates/includes/cart/cart_address.html.

There is a slight downside: autocomplete does not work, so users will have to type out their country name themselves.

The good news however is that the verification still works if you keep the ‘options’ tag, so users will not be able to insert a wrong country.

			{
					label: __('Country'),
					fieldname: 'country',
					fieldtype: 'Data',
					options: 'Country',
					only_select: true,
					reqd: 1
				}
1 Like

hi,

Thanks for the workaround.
I will try.

I found the same issue. Thanks for the short term fix. Any long term fix planned?