• Resolved kaboemnld

    (@kaboemnld)


    Hello

    After the latest version update of woocommerce the option in the checkout page the option (free shipping minimal order amount 75,=) free shipping is not automatic selected you must selected by your self?

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @kaboemnld,

    Is the Free Shipping method at the top of your shipping method list, as shown here? Could you kindly provide a screenshot of your shipping method’s settings to help us assist you better? For screenshots, you may use https://snipboard.io – please follow the instructions on that page, then paste the URL in this thread.

    However, if you prefer to have the free shipping option automatically selected when the minimal order amount is met, you can use an additional plugin like WooCommerce Conditional Shipping and Payments, or a custom code snippet to hide other shipping methods:

    In the meantime, you can run a conflict test to help you identify the cause of the issue. More info: https://woo.com/document/how-to-test-for-conflicts/

    Let us know how that goes for you.

    Thread Starter kaboemnld

    (@kaboemnld)

    Hello the code snippets are not working correct, when i have a product off 22,50 it’s shows shipping 3,95 when i at a product 84,50 it shows shipping 5,95 but the total amount is above free shipping amout of 75,= and it’s shows no free shipping.

    https://snipboard.io/3qcAhH.jpg

    https://snipboard.io/VzRDWk.jpg

    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello kaboemnld

    Thank you for your reply.

    Please note that our Support Policy does not cover custom code solutions.
    For further assistance, you may consult a professional developer or wait for a community member to answer your question.

    However, to steer you in the right direction, may I see the screenshot of the custom code you have added to the website? I want to check where is it added.

    Looking forward to your response. ??

    Best regards.

    Thread Starter kaboemnld

    (@kaboemnld)

    it,s the second option of the advice from Sahmeem reply earlie.

    /** * Hide shipping rates when free shipping is available, but keep “Local pickup” * Updated to support WooCommerce 2.6 Shipping Zones */ function hide_shipping_when_free_is_available( $rates, $package ) { $new_rates = array(); foreach ( $rates as $rate_id => $rate ) { // Only modify rates if free_shipping is present. if ( ‘free_shipping’ === $rate->method_id ) { $new_rates[ $rate_id ] = $rate; break; } } if ( ! empty( $new_rates ) ) { //Save local pickup if it’s present. foreach ( $rates as $rate_id => $rate ) { if (‘local_pickup’ === $rate->method_id ) { $new_rates[ $rate_id ] = $rate; break; } } return $new_rates; } return $rates;} add_filter( ‘woocommerce_package_rates’, ‘hide_shipping_when_free_is_available’, 10, 2 );

    view raw

    Plugin Support Shameem R. a11n

    (@shameemreza)

    HI @kaboemnld,

    I have tested the second code snippet shared here, and it seems to work fine.

    I’ve set up two shipping methods: Flat rate and Free shipping. For the free shipping method, I’ve chosen “A minimum order amount or a coupon”, with the minimum order amount pegged at $75.

    Here’s how it works: When I add a product worth $75 or more to the cart, all other shipping methods automatically get hidden, and only the free shipping method is shown.

    However, please note that, for Euro, you might need to use commas instead of dots, like 75,00.

    I hope this helps! Please let us know how it goes or if you need further assistance.

    Thread Starter kaboemnld

    (@kaboemnld)

    Hello, the second code snippet is working thanks, but i don’t see the local pickup anymore with free shipping, when the subtotal is below 75 i see local pickup. local pickup must be allways visible because a local shop.

    thanks

    Thread Starter kaboemnld

    (@kaboemnld)

    the sales ladies at the local store see that the order is picked up and you do not have to send it

    Hello there @kaboemnld,

    Thanks again for reaching out.

    Hello, the second code snippet is working thanks, but i don’t see the local pickup anymore with free shipping, when the subtotal is below 75 i see local pickup. local pickup must be allways visible because a local shop.

    To enable local pick up, navigate to your WooCommerce settings. Click on ‘Shipping’, then ‘Shipping zones’.

    Here, add a new shipping zone or edit an existing one. In the shipping methods for this zone, add ‘Local Pickup’. Make sure it’s not set to ‘Free Shipping’ only, which could be why it’s disappearing when the subtotal exceeds $75.

    I hope this helps.

    Thread Starter kaboemnld

    (@kaboemnld)

    Hello it’s working local pickup but not for free shipping(see images)

    https://postimg.cc/gallery/wv5ps84

    Thanks

    Hi @kaboemnld!

    Thank you for reaching out back and for sending the screenshots.

    In this scenario, the system will select the first shipping option available by default. Could you please try rearranging your shipping methods by putting the free shipping option at the top and checking if it works?

    You can do this by dragging it from second to first place using the drag handle icon:

    Image link: https://i.ibb.co/b6NWmMH/shipping-1.jpg

    I hope this helps! Let us know how it works for you.

    Thread Starter kaboemnld

    (@kaboemnld)

    Hello, free shipping works okay now, but i don’t see local pickup anymore, when the order amount is below €75 i see also local pickup but when the order amount is above €75 i see free shipping but no local pickup, i want to see both options because a customer lives in our city and want to pick it in our store, the sales ladies know that they don’t have to send it.

    Thanks

    Hi @kaboemnld!

    free shipping works okay now

    That’s great, I’m glad it is working now.

    but i don’t see local pickup anymore, when the order amount is below €75 i see also local pickup but when the order amount is above €75 i see free shipping but no local pickup

    I understand. I tried replicating the issue on my test site, and both options display correctly when the amount for Free Shipping is reached.

    Image link:https://i.ibb.co/nmX195t/Captura-de-Pantalla-2024-03-03-a-la-s-3-37-15-p-m.png

    It could be possible that you might still have enabled the code snippet shared by @shameemreza in an earlier interaction. Kindly notice the code will hide any other shipping method available (including Local pickup) if Free Shipping is activated. You can check more about it here: https://woo.com/document/hide-other-shipping-methods-when-free-shipping-is-available/#section-1

    In this case, please try disabling the code to see if it helps to solve the issue.

    Let us know how it goes!

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @kaboemnld,

    I’m marking this topic as “resolved” due to recent inactivity. If more assistance is needed, feel free to post back here or open a new topic.

    Thanks!

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘free shipping not automatic’ is closed to new replies.