• Resolved mrretail

    (@mrretail)


    Hello, I recently updated one of my client’s sites to PHP 7.1 and the latest Woocommerce. Now Woocommerce is showing “Enter your address to view shipping options” on the cart, even though the only options she has available are flat rate shipping and free shipping.

    Everything worked perfectly previously.

    I have tried deactivating any plugin that works in conjunction with Woocommerce but no change. Deselecting “Enable the shipping calculator on the cart page” has made no difference either.

    Any suggestions?

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • AJ a11n

    (@amandasjackson)

    Hi there,

    Can you please check the settings for:

    1) Default customer location in WooCommerce > Settings> General to see if No location by default is selected:


    Link to image: https://cld.wthms.co/gHNf8z

    2) Shipping Options by going to WooCommerce >Settings >Shipping >Shipping Options and ensure that the Calculations aren’t set to Hide shipping costs until an address is entered.


    Link to image: https://cld.wthms.co/0YRhZl

    Adjusting those two settings according to what your client wants should work to resolve the issue of no address showing and requiring one to be entered to view shipping.

    Thread Starter mrretail

    (@mrretail)

    Hi @amandasjackson and thank you for your reply but I had already checked for both of these and the issue remains. I have also deactivated every other plugin, to no effect. I have just tried rolling back Woocommerce to the previous version and PHP to 7.0.33, but still no good. Should I roll them both back even further?

    Everything works whilst I am logged in as Admin, but not when logged out.

    Thread Starter mrretail

    (@mrretail)

    Update: The shipping zone I have set has specific states only, as there are some states we cannot sell cactus to. When I set up a test zone, without any set states, the cart shows shipping costs, as expected (and as it used to), so the issue appears to be to do with geolocation, i.e. Woocommerce is not identifying that the buyer is in the correct state, so it asks for the address as to know whether to show the shipping rates or not. I have tried changing default customer location to geolocate, and now it works on my mobile but not desktop. Different desktop browsers make no difference either.

    Hi @mrretail,

    Sorry for the wait on this reply!

    The shipping zone I have set has specific states only, as there are some states we cannot sell cactus to. When I set up a test zone, without any set states, the cart shows shipping costs, as expected (and as it used to), so the issue appears to be to do with geolocation

    I did do a test on my desktop with the location `Surrey Hills, New South Wales, 4688PH’ and it did populate shipping items. As you mention it works on mobile but not desktop for yourself, if you are still experiencing this issue then these 3 sites allow testing for Geolocation:

    https://www.geoscreenshot.com
    https://geopeeker.com/
    https://www.locabrowser.com/

    See if it is working, if not it should give you steps for how to resolve it. Let us know how it goes!

    The fact that Geolocation works on the mobile device means that it is working overall, so it may be a desktop issue rather than a site issue. If you test and it shows correct on all 3 devices, then

    *then let us know how it goes.

    jessepearson

    (@jessepearson)

    Automattic Happiness Engineer

    @mrretail We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Thread Starter mrretail

    (@mrretail)

    Sorry for not replying earlier. It had been over 2 months since I made my last comment, before I got a reply, and my client had long since given up on trying to resolve the issue, (as it was costing her money), so she has since deleted the entire website and started again. Thus, I couldn’t try any of the new suggestions anyway.

    Thanks for following up though. Have a great day.

    I see this is marked as “resolved”, rather than merely “closed”. I can’t see any reference to a fix. Has it it just been left unresolved?

    I have a similar situation but I’ll start a new thread.
    Thanks,
    Phil.

    Thread Starter mrretail

    (@mrretail)

    No, not resolved and certainly wasn’t a desktop issue, as it didn’t matter who visited the site, or on what device. My mobile was just ‘tricking me’ because it hadn’t updated the cache from a previous visit.

    Thanks for that steer. I’ll ensure the cache plugin is deactivated.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Enter your address to view shipping options is showing for flat rate shipping’ is closed to new replies.