Title: Select Defaults Broken
Last modified: August 22, 2016

---

# Select Defaults Broken

 *  Resolved [ipatenco](https://wordpress.org/support/users/ipatenco/)
 * (@ipatenco)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/select-defaults-broken/)
 * The select elements at
    /my-account/edit-address/?address=billing and /checkout/
   have default selection issues with certain browsers.
 * The fix applied was to files
    /wp-content/plugins/jigoshop/classes/jigoshop_checkout.
   class.php and /wp-content/plugins/jigoshop/classes/jigoshop_customer.class.php
   was simply to add a space in the string ‘selected=selected’ so that the string
   now looks like ‘ selected=”selected”‘
 * For some reason, the lack of a space creates an error. The specific repeatable
   issue is in Jigoshop v1.15.5 using Chrome version 40.0.2214.115 m one the /my-
   account/edit-address/?address=billing using country US as default and trying 
   to save as any country will result in the display of Afghanistan after clicking
   the save button, even though the database clearly shows US. This issue does confuse
   the customer and some customer will click save a second time after Afghanistan,
   or whatever is the first country in the list, and that will be marked as their
   country, even if they chose a US shipping state.
 * Thanks!
 * [https://wordpress.org/plugins/jigoshop/](https://wordpress.org/plugins/jigoshop/)

Viewing 1 replies (of 1 total)

 *  [megawebmaster](https://wordpress.org/support/users/megawebmaster/)
 * (@megawebmaster)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/select-defaults-broken/#post-5839871)
 * Thank you [@ipatenco](https://wordpress.org/support/users/ipatenco/)!
 * Your changes are now included in core and added to next release (probably 1.15.6)!

Viewing 1 replies (of 1 total)

The topic ‘Select Defaults Broken’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/jigoshop_655549.svg)
 * [Jigoshop](https://wordpress.org/plugins/jigoshop/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jigoshop/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jigoshop/)
 * [Active Topics](https://wordpress.org/support/plugin/jigoshop/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jigoshop/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jigoshop/reviews/)

## Tags

 * ["selected"](https://wordpress.org/support/topic-tag/selected/)
 * [country](https://wordpress.org/support/topic-tag/country/)
 * [state](https://wordpress.org/support/topic-tag/state/)

 * 1 reply
 * 2 participants
 * Last reply from: [megawebmaster](https://wordpress.org/support/users/megawebmaster/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/select-defaults-broken/#post-5839871)
 * Status: resolved