• Resolved syah606

    (@syah606)


    Hi, I’m having problem with the state/country that overlap with shipping to different address tick box. I can’t change my state/country and postcode/zip, every time I click it, the tick box is checked instead. The last row seems overlap with the tick box. Thanks in advance

    https://wordpress.org/plugins/woocommerce/

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Contributor royho

    (@royho)

    Please post your URL.

    Thread Starter syah606

    (@syah606)

    Plugin Contributor royho

    (@royho)

    Hmmm not really sure what you mean? I am using Chrome and it “seems” to be working ok?

    Do you mean that the shipping state field is just a textbox instead of a dropdown box? In other words, a list of states under the shipping details doesn’t show up but you instead have to type in the name of the state.

    Plugin Contributor royho

    (@royho)

    Yes that is correct. Only the country field is a dropdown. State/County is text field.

    I think I know what the problem is. There are no fields for UAE or certain countries in WC but a dropdown box does show up for countries such as the United States.

    I don’t know how to fix this problem since I don’t know where these states/countries are in WC.

    Thread Starter syah606

    (@syah606)

    When I checkout, the billing details of the last row for state/country and postcode cannot be change, if I click it check the shipping to different address instead. Registration is ok, it only happen if I want to check out.

    Thread Starter syah606

    (@syah606)

    The state/country still a dropdown box, but I just can’t do anything to it. If I change my address in the billing details, I won’t be able to change state and postcode

    Plugin Author Mike Jolley (a11n)

    (@mikejolley)

    States are only a dropdown if the country code is listed here https://github.com/woothemes/woocommerce/tree/master/i18n/states

    syah606 your dropdown is not working, but I’m not sure if its the theme, caching or both. YOU NEED to exclude checkout, cart, and account pages from w3 total cache page caching.

    Thread Starter syah606

    (@syah606)

    I had deactivated w3 but it is still the same. Is there any way to put the tick box away from the dropbox?

    What do you mean by tick box? A tick box is the box of the checkbox but that isn’t near a drop box. There is just a create an account tick box and ship to different address tick box.

    Thread Starter syah606

    (@syah606)

    Ship to different address tick box.

    You could add this to the end of your styles.css

    #ship-to-different-address-checkbox {
        display: none;
    }

    You should also probably change the h3 “ship to a different address?” text since it would be confusing. Something such as Shipping Details or Shipping Address. I think that you’d go into form-shipping.php to edit that or use a css hack.
    For the CSS hack you’d add this code. I’m actually not sure if this code will work but you should try.

    #ship-to-different-address {
        visibility: hidden;
    }
    #ship-to-different-address::after {
        content: "Shipping Address";
        visibility: visible;
    }
    Thread Starter syah606

    (@syah606)

    It works. Thank you

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Billing details 'State/Country' issue’ is closed to new replies.