• Resolved skafec

    (@skafec)


    Hello,

    At update 3.9.0 (the one that had security fixes, not sure if it was 3.9.0) I realized that shipping destination setting in Options –> Shipping –> Shipping options doesn’t work as it should.

    Basically, my default shipping address was the same as the payment address with an option to change shipping address. This used to work fine before last week’s update.

    My settings are the same (Default address is set to payment address in WooCommerce settings) yet checkbox for using different shipping address is checked at checkout.

    I tried all 3 options hoping it might change checkbox behavior at checkout, but it didn’t work.

    How can I fix this?

    Thanks in advance.

    • This topic was modified 5 years, 1 month ago by skafec.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Shaun Kuschel a11n

    (@shaunkuschel)

    Automattic Happiness Engineer

    Hey @skafec!

    This is a bug that appears to happen in situations where someone has a shipping address set that isn’t the same as their billing address.

    There is a pull request for it, but it hasn’t been merged or released just yet, but you can follow along with the fix here:

    https://github.com/woocommerce/woocommerce/issues/25493

    Thread Starter skafec

    (@skafec)

    Hello Shaun,

    Thank you for your reply.
    I commented out code that was removed in suggested fix and it didn’t help me.

    I have quest checkout option turned on at site so that users don’t have to have an account in order to make orders on website.

    I tried to go through order process as a user so that site doesn’t have any information about user and checkbox is still checked.

    Any other solutions?

    Thanks & Regards.

    Plugin Support Shaun Kuschel a11n

    (@shaunkuschel)

    Automattic Happiness Engineer

    Hey @skafec,

    Thanks for the reply!

    Are you able to reproduce the issue with just WooCommerce active and a default theme, while that code is commented out and the Billing address is being used as the default in the settings?

    Thread Starter skafec

    (@skafec)

    Hello Shaun,

    Thank you for your reply.
    I tried to deactivate all of the plugins except for theme core plugins and WooCommerce.
    Suggested fix still didn’t work.
    Weird thing is, I tried to use DOM to see what is going on and at the first load od checkout page checkbox is unchecked and then later something changes it’s state (default checked is set to false).

    Any other ideas as to why this fix doesn’t work?

    Thanks & Regards.

    Plugin Support Shaun Kuschel a11n

    (@shaunkuschel)

    Automattic Happiness Engineer

    Hey @skafec,

    I attempted to reproduce this a number of different ways, but I didn’t have any luck (aside from what is mentioned in the Github issue).

    If you haven’t already, I would suggest doing a test in an incognito browser window while not logged in (guest checkout). If it still checks the different shipping address box, I would do another test with a default WordPress theme (either on a staging copy of your site or trying a ‘Live Preview’ of the default theme).

    Thread Starter skafec

    (@skafec)

    Hey @shaunkuschel,

    I tried to use Twenty Nineteen theme and it worked. Checkbox was unchecked by default.

    I am contacting theme support to find out what went wrong.

    Thanks & Regards.

    Plugin Support Shaun Kuschel a11n

    (@shaunkuschel)

    Automattic Happiness Engineer

    Thanks for the update! Glad to hear you were able to track down the source. Feel free to share any additional info that you find out related to what was happening with the theme, if you think it would be helpful. Cheers! ??

    Plugin Support Shaun Kuschel a11n

    (@shaunkuschel)

    Automattic Happiness Engineer

    I’m going to close out this thread, but if you need any further assistance, don’t hesitate to create a new post. Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Default shipping form checkbox’ is closed to new replies.