• Resolved joostvanderzanden

    (@joostvanderzanden)


    On my webshop the free shipping based on shipping zone is not working anymore (woocommerce 8.7). I have custom code for min order amount €50,00. Also have the custom code to show only free shipping option if free shipping is available.

    NL:

    • Flat rate taxable €X,XX
    • Free shipping min amount €75,- and checked “Apply the minimum order rule before voucher discount”

    BE:

    • Flat rate taxable €X,XX
    • Free shipping min amount €100,- and checked “Apply the minimum order rule before voucher discount”

    The problem
    NL shipping country:
    When I have €60 in the cart it shows shipping €X,XX > correct
    When I have €80 in the cart it shows free shipping > correct
    When I have > €100 in the cart, free shipping disappears and the normal flat rate €X,XX is shown, so no free shipping option available.

    BE shipping country:
    Always free shipping

    Steps I took for trying to fix this but not working
    – Selected default theme
    – Disabled plugins except for woocommerce
    In the end on my test environment I rolled WC version back to 8.2 and there it worked.

    In short
    Woocommerce allowed shipping method selection/filter is not working correctly. If above 100 euro, the free shipping method disappears in NL and in BE the shipping method always returns Free shipping.

    This may be related to https://www.ads-software.com/support/topic/free-shipping-is-not-working-i-version-8-5-1/ but I am not sure.

    I will send you the needed system report and website url, but prefer private.

Viewing 15 replies - 1 through 15 (of 22 total)
  • Hey there, @joostvanderzanden! Thanks for contacting us. I’m happy to help you.

    Thanks for the detailed report.

    When you added the free shipping minimum value, did you added it with the comma (ex: 75,00 instead of 75). If so can you try add both (75 and 100) like this, without the comma, save it and check if the issue persists?

    If it doesn’t, can you please share some screenshots with us so we can take a look? I recommend using https://snipboard.io. You can share the direct link to the image as a response to this topic.

    We need screenshots of:

    • WooCommerce > Settings > Shipping
    • WooCommerce > Settings > Shipping > Click on Edit on a Shipping Zone
    • WooCommerce > Settings > Shipping > Click on Edit on a Shipping Zone > Click on edit on each shipping method so we can check the specific settings
    • Please go to WooCommerce > Settings > Shipping > Shipping Settings and enabled debug mode (don’t forget to save the changes) and share a screenshot of the checkout page after you set it up to show the wrong free shipping as you explained.

    Looking forward to your reply.

    Have a wonderful day!

    Thread Starter joostvanderzanden

    (@joostvanderzanden)

    Hi @carolm29,

    Thanks for the suggestion! Unfortunately it doesn’t work. I tried different routes in adding new shipping methods, also the way you suggested, but results in the same as I mentioned before. Issue persists. Good to point out: when I set the settings back to the for now “acceptable” flow in the order process the issues still persisted. I had to remove the free shipping methods and add them again in a different way, otherwise the issue was still there. Looks like it is not updating correctly. So it works now as expected, but if I check the box for the free shipping NL and BE “Apply the minimum order rule before voucher discount” then it goes wrong.

    So here are the screenshots:
    https://snipboard.io/JFfBjq.jpg

    NL:
    https://snipboard.io/TsPjxn.jpg
    https://snipboard.io/B6eURI.jpg
    https://snipboard.io/59M3GC.jpg
    BE:
    https://snipboard.io/MUOq3w.jpg
    https://snipboard.io/59M3GC.jpg
    https://snipboard.io/XTjagq.jpg

    The last screenshot not needed, because i works in this setup without the checkbox “Apply the minimum order rule before voucher discount”.

    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello joostvanderzanden

    Thank you for your reply.

    Could you please share the System Status Report with me?
    You may use https://quickforget.com to share with us safely.
    This report will allow me to review your website’s environment.

    Also, have you tried removing your custom code?
    May I also see that code?
    I want to make sure there is no conflict with that code.

    I look forward to your response. ??

    Best regards.

    Thread Starter joostvanderzanden

    (@joostvanderzanden)

    Hello Zubair Zahid,

    Thanks, here is the link: https://quickforget.com/s/a4cc97644ff130c65be5db8f53abfa5286ac324a03b53830

    Yes, I tried that. Tried removing it and also tried with a default wp theme active, so the code is not triggered, but no success.

    https://snipboard.io/qyvKGb.jpg

    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello joostvanderzanden

    Thank you for your reply.

    I understand you have tried removing the code and changing the theme to the default one.
    But it did not solve the problem.

    To conduct a proper troubleshooting process, I will suggest creating a staging site.
    This will allow you to conduct the Conflict Test without affecting your live site.
    The staging site will also allow me to review the site configurations at default settings.

    You can ask your host and see if they provide a staging site feature.
    If not then you can use a free plugin like WP Staging to create one.

    Let me know if you have any questions. ??

    Best regards.

    Thread Starter joostvanderzanden

    (@joostvanderzanden)

    Hi Zubair Zahid,

    yes i already have a staging environment. this is the report of that environment:
    https://quickforget.com/s/0929c3fe8d88d1d7883f6ad56139b76c13a3877951af1b80

    Plugin Support ckadenge (woo-hc)

    (@ckadenge)

    Hi @joostvanderzanden,

    I visited the link, but it seems like the details in the link have already been forgotten.

    Kindly share them again, and please add a longer period of time to allow us to view them from our end.

    Thanks.

    Thread Starter joostvanderzanden

    (@joostvanderzanden)

    https://quickforget.com/s/2be4ebdf3f59e94ac8dd06542f4ca276671c7539d5385c0e

    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello joostvanderzanden

    Thank you for your reply and for sharing SSR.
    We are making progress here.

    Putting your original message here just for reference:

    Woocommerce allowed shipping method selection/filter is not working correctly. If above 100 euros, the free shipping method disappears in NL and in BE the shipping method always returns Free shipping.

    Next, could you perform the following steps on the staging site:
    – Update the WordPress to the latest version 6.5.2.
    – Deactivate all the plugins except WooCommerce.
    – Enable offline payment method like Bank transfer or Cheque so I can place test orders.
    – Set up a free shipping method and share a screenshot with me.

    Once you have done this, I will visit your site and try to place an order.
    This will give me a better understanding of the problem.

    I look forward to your reply. ??

    Best regards.

    Thread Starter joostvanderzanden

    (@joostvanderzanden)

    Hello Zubair Zahid,

    • Updated wordpress
    • Deactivated all the plugins that can be deactivated (otherwise site breaks)
    • Payment methods activated
    • Screenshots of free shipping below

    https://snipboard.io/0QHDoz.jpg
    https://snipboard.io/fthBL4.jpg

    Free shipping works correctly less than 100 euro (NL shipping):
    https://snipboard.io/F0wECj.jpg
    Free shipping is gone more than 100 euro (NL shipping):
    https://snipboard.io/wtcOMX.jpg

    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello joostvanderzanden

    Thank you for your reply.

    After checking your screenshots I tried to recreate the issue on my test site.
    I set up the same shipping rules for the Netherlands and Belgium.
    However, I am not able to recreate the issue and the shipping cost is working as expected on my test site.

    Here is a screenshot where I have set the address to Belgium and the cart total is $103. As you can see the free shipping option is visible.
    It shows up as soon as the cart total is equal to or greater than 75.
    The shipping rules are working fine for the Netherlands as well.

    I noticed you are using a custom-built theme on your site.
    Just to make sure there is not any conflict caused by the theme, could you change your theme to the Storefront theme? Then also share the latest System Status Report with me.

    Hopefully, switching to the default theme and another review of SSR will allow us to resolve this issue. I look forward to your response. ??

    Best regards.

    Thread Starter joostvanderzanden

    (@joostvanderzanden)

    Yes i installed storefront theme and disabled all plugins except for woocommerce. Just updated woocommerce to the latest version.

    These are my results for shipping NL:
    https://snipboard.io/UpYQ0m.jpg
    https://snipboard.io/euXLxO.jpg

    For shipping belgium i always see the flat rate and the free shipping, no matter the cart value.

    https://quickforget.com/s/1ba9e9d8e9f92a789f968973bb68df5521f960a93cda4200

    So this all maybe database related or something?

    anastas10s

    (@anastas10s)

    ?? hey @joostvanderzanden

    I went back and reviewed all that is shared in this thread so far.

    Free shipping above €100 not showing up anymore

    It appears shipping functions as expected on the site’s front end, when WooCommerce version 8.2 is activated. The same is not true when WooCommerce version 8.7 is active — while the rest of the settings stay the same. Am I getting this?

    From what I gather, the culprit can be found with how regions are currently set up. Meaning, there appear to be duplicates of both Belgium and Netherlands, with different settings in each occurrence. This has the undesired results reported here, as I understand.

    Below, I’m attaching a highlighted version of one of the screenshots shared here, for reference — highlighting Nederland.

    Direct link to image: https://snipboard.io/dfWvTr.jpg

    To clarify, did you already have a chance to combine the shipping rules and settings per country, and see if the issue persists with the latest version of WooCommerce, or otherwise?

    I hope this is helpful! We look forward to your response. In the meantime, please let us know if you have any further questions or concerns.

    • This reply was modified 7 months ago by anastas10s. Reason: typo
    femkesearacon

    (@femkesearacon)

    Hey @joostvanderzanden,

    I had the same issue.

    When setting the minimum amount for the free shipping Woocommerce automatically places an “,”. So typing 60 and saving ends up as 60,00. You need to replace the “,” with “.” to make it 60.00.

    Thread Starter joostvanderzanden

    (@joostvanderzanden)

    @anastas10s thanks for your reply, but the issue is fixed because of the suggestion @femkesearacon made!

    I removed the free shipping methods and added them again directly with 75.00 and 100.00. Also changed my flat rates decimals to a dot, to be sure. Lastly checked the checkboxes for the free shipping “apply the minimum order rule before voucher discount” and tested it. Everything finally works like expected.

    Thanks @femkesearacon

Viewing 15 replies - 1 through 15 (of 22 total)
  • You must be logged in to reply to this topic.