• Resolved danijelpendjer

    (@danijelpendjer)


    Hi,

    I am experiencing a strange bug on my website.
    I have set all shipping methods I need and it works fine on desktop.
    When I set any Postal Code eg. (11000, 11090, 11060 etc…), and I put Beograd in the City field the shipping methods show up and customer can select desired method, as shown in the screenshot https://prntscr.com/1182cf2

    But when I do the same on mobile the shipping method is automatically selected and customer does not have options to select other shipping methods, as shown in the screenshot: https://prntscr.com/1182esa

    I have find out that I need to select State/Region filed on mobile so that I can get the shipping method options to show up, but on desktop I do not have a need to select the state filed and shipping methods show up.

    I have tried to disable state on shipping calculator but the problem is the same.

    I am using Woocommerce 5.0.0 and WordPress version is 5.6.2.

    Can you please look into this issue?

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello @danijelpendjer ,

    This is interesting.

    I have just checked on your site both from my desktop and mobile view. I got similar results in both versions.

    Here are my results – https://prnt.sc/118cgg2
    Mobile view – https://prnt.sc/118ch49

    Please try after clearing browser cache from your phone or better try with a different device. This will help you make sure if there are any issues. It is quite unlikely that shipping methods are shown differently only for the mobile versions.

    Let me know the update.

    Thank you ??

    Thread Starter danijelpendjer

    (@danijelpendjer)

    Dear Rashed,

    Thank you for looking into this.
    I have tried this on different devices and the results are the same.
    My friend tried from Huawei P30 Pro. I have tried from my wife’s Samsung J6 and from my Samsung A20e but with different browser this time. The results are always the same, as described in my previous post.

    Can you confirm that you didn’t selected Belgrade region from the State filed (in my case “Okrug”)? It needs to be empty https://prntscr.com/118ej09 …because if you did, in that case it works on both mobile and desktop, but if you didn’t, in that case this is super strange.
    If you leave state (Okrug) filed empty it will work on desktop, but not on mobile.

    Our aim is to disable that filed. If is mandatory to select that field we will have to leave it there for no reason.

    I have also tried to disable state field with the filter
    add_filter( ‘woocommerce_shipping_calculator_enable_state’, ‘__return_false’ );
    The problem is the same.

    Thread Starter danijelpendjer

    (@danijelpendjer)

    Dear Rashed,

    I just figer out that region is mandatory because plugin itself use it to handle shipping zones and methods.
    I have tought that I didn’t selected Okrug on desktop, but auto-fill option does, so that was the issue.

    Please just ignore this ticket from now on. Case closed.

    One more time, thank you for your assistance.

    Awesome!

    I am glad to know that you have figured it out already. Thanks for sharing the finding as well. I am sure, someones else will find it useful.

    If you have any other queries, feel free to open a new thread.

    Thank you ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Bug on shipping calculator only on mobile’ is closed to new replies.