sunnysideup / silverstripe-ecommerce

The original Silverstripe E-commerce.
http://www.silverstripe-ecommerce.com
Other
26 stars 25 forks source link

Fix duplicate RegionCode error. #21

Closed hailwood closed 9 years ago

hailwood commented 9 years ago

When there are no regions in the database getRegionField returns a new RegionCode TextField which causes an error as we end up with two RegionCode fields, we remove them both and then only readd the one we want directly after the Country field rather than the end of the form.

sunnysideup commented 9 years ago

THANK YOU