• Resolved ivanberlanga

    (@ivanberlanga)


    Hello,

    I’d like to make some modifications in the behaviour of our checkout. I want to access to the hook “woocommerce_package_rates” to hide Free Shipping in certain circumstances, but this is not working.

    Is there another method to hide/show shipping methods, for example, for a minimum amount of purchase?

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Diego Versiani

    (@diegoversiani)

    Hi @ivanberlanga,

    You should be able to use the hook woocommerce_package_rates without problems. If you are having issues making it work with Fluid Checkout, and is able to do it with Fluid Checkout deactivated, please give more details about:

    – Your settings for the shipping methods
    – The current behavior or error messages
    – The expected behavior

    If you only need the “Free Shipping” method to be available for orders with a total higher than a certain amount, let’s say “free shipping on orders above 100 EUR”, you can use the native “Free shipping” shipping method to set this rule.

    In case your conditionals are more complicated, you will need a plugin or custom code for that.

    The plugin below seems to be flexible enough to set conditionals for showing/hiding any shipping method, not only “Free Shipping”, with their PRO version. I used it on a client project, although we are using the free version which is enough for what we needed.

    https://www.ads-software.com/plugins/hide-shipping-method-for-woocommerce/

    I’m closing this topic for now. If you need further assistance, please reply to this topic.

    Best,
    Diego

    Thread Starter ivanberlanga

    (@ivanberlanga)

    Thank you very much for your response. I’ll try what you say. By the way, great plugin!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide Shipping Methos’ is closed to new replies.